Populate parser/ hierarchy
[yangtools.git] / parser / yang-parser-rfc7950 / src / test / resources / bugs / bug8126 / inv-cont / ill3.yang
1 module ill3 {
2     namespace ill3;
3     prefix ill3;
4
5     import foo { prefix foo; }
6
7     //invalid augments (mandatory container)
8     augment "/foo:root" {
9         container mandatory-container-2 {
10         }
11     }
12
13     augment "/foo:root/mandatory-container-2" {
14         container one {
15             leaf mandatory-leaf-3 {
16                 mandatory true;
17                 type empty;
18             }
19         }
20     }
21 }
22