Bug 3859: Use of reference keyword in a YANG extension
[yangtools.git] / yang / yang-parser-impl / src / test / resources / bugs / bug3859 / bug3859.yang
1 module reference-in-unknown {
2   namespace "urn:ref:unknown";
3   prefix "riu";
4
5   extension test-extension {
6     argument test;
7   }
8
9   riu:test-extension {
10     container cont {
11       description
12         "This is just a plain text";
13
14       list mylist {
15         description
16           "This is a just another plain text";
17
18         reference "refers somewhere...";
19
20         leaf myleaf1 {
21           type string;
22         }
23
24         leaf myleaf2 {
25           type string;
26         }
27       }
28     }
29   }
30 }
31