db2bf27542667eb476db701cad2b0d94f603efe6
[yangtools.git] / yang / yang-parser-impl / src / test / resources / rfc7950 / list-keys-test / incorrect-list-keys-test1.yang
1 module incorrect-list-keys-test1 {
2     yang-version 1.1;
3     namespace "incorrect-list-keys-test1";
4     prefix "test";
5
6     revision 2017-02-06 {
7         description "Bug 6855: Test disallowing IF-FEATURE on list key";
8     }
9
10     list invalid-list-b {
11         key "b";
12         leaf b {
13             if-feature feature-b;
14             type string;
15         }
16     }
17 }