Adjust test suite parser update to conform with API changes
[yangtools.git] / yang / yang-parser-impl / src / test / resources / rfc7950 / list-keys-test / incorrect-list-keys-test2.yang
1 module incorrect-list-keys-test2 {
2     yang-version 1.1;
3     namespace "incorrect-list-keys-test2";
4     prefix "test";
5
6     revision 2017-02-06 {
7         description "Bug 6855: Test for grouping stmt";
8     }
9
10     grouping a {
11         leaf a1 {
12             type int32;
13             if-feature feature-a;
14         }
15         leaf a2 {
16             when "../a1 = '2'";
17             type string;
18         }
19     }
20
21     list invalid-list-a1 {
22         key a1;
23         uses test:a;
24     }
25 }