YANGTOOLS-706: Split out yang-parser-rfc7950
[yangtools.git] / yang / yang-parser-rfc7950 / src / test / resources / bugs / bug5946 / foo-invalid.yang
1 module foo-invalid {
2     namespace "foo";
3     prefix foo;
4     yang-version 1;
5
6     revision 2016-05-26 {
7         description "test";
8     }
9
10     list simple-unique {
11         key "k";
12         leaf k {
13             type string;
14         }
15         unique "/simple-unique/l1";
16         leaf l1 {
17             type string;
18         }
19     }
20 }