Populate data/ hierarchy
[yangtools.git] / yang / yang-model-util / src / test / resources / yt1127.yang
1 module foo {
2   namespace foo;
3   prefix foo;
4
5   grouping grp {
6     leaf leaf1 {
7       type leafref {
8         path "../../foo:foo_cont/foo:name";
9       }
10     }
11   }
12   container cont {
13     leaf leaf2 {
14        type leafref {
15         path "../../../foo:foo_cont/foo:name";
16       }
17     }
18   }
19 }