YANGTOOLS-706: Split out yang-parser-rfc7950
[yangtools.git] / yang / yang-parser-rfc7950 / src / test / resources / bugs / bug6669 / invalid / test2 / bar.yang
1 module bar {
2     namespace "bar";
3     prefix bar;
4
5     import foo { prefix foo; revision-date 2016-09-08; }
6
7     revision 2016-09-08;
8
9     augment /foo:root {
10         container bar {
11         }
12     }
13
14     augment /foo:root/bar:bar {
15         container bar1 {
16         }
17     }
18
19     augment /foo:root/bar:bar/bar:bar1 {
20         container bar2 {
21         }
22     }
23
24     augment /foo:root/bar:bar/bar:bar1/bar:bar2 {
25         leaf m {
26             mandatory true;
27             type empty;
28         }
29     }
30 }