Bug 5335: augmenting a mandatory node on a presence container
[yangtools.git] / yang / yang-parser-impl / src / test / resources / bugs / bug5335 / incorrect / case-1 / sub-bar.yang
1 submodule sub-bar {
2     belongs-to bar {
3         prefix bar;
4     }
5
6     import foo { prefix foo; revision-date 2016-03-04; }
7
8     augment "/foo:root/bar:non-presence-container" {
9         leaf mandatory-leaf {
10             type string;
11             mandatory true;
12         }
13     }
14 }