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