Bug 7440: Fix empty parent in deviate "replace"
[yangtools.git] / yang / yang-parser-impl / src / test / resources / bugs / bug7440 / foo.yang
1 module foo {
2     namespace foo-ns;
3     prefix foo-prfx;
4
5     revision 2016-12-23;
6
7     deviation "/test-leaf" {
8         deviate replace {
9             type uint32 {
10                 range "5..50";
11             }
12         }
13     }
14
15     leaf test-leaf {
16         type int32;
17     }
18 }