+++ /dev/null
-module incorrect-list-keys-test4 {
- yang-version 1.1;
- namespace "incorrect-list-keys-test4";
- prefix "test";
-
- revision 2017-02-06 {
- description "Bug 6855: Test for grouping stmt";
- }
-
- grouping a {
- leaf a1 {
- type int32;
- if-feature feature-a;
- }
- leaf a2 {
- when "../a1 = '2'";
- type string;
- }
- }
-
- grouping b {
- leaf b1 {
- type string;
- }
- uses test:a;
- }
-
- list invalid-list-b1 {
- key a1;
- uses b;
- }
-}