Bug 6261: Introduce resolution of deviation statement during SchemaContext assembly
[yangtools.git] / yang / yang-parser-impl / src / test / resources / deviation-resolution-test / deviation-add / foo-invalid-3.yang
1 module foo {
2     namespace foo;
3     prefix foo;
4
5     revision 2017-01-20;
6
7     deviation "/my-leaf" {
8         deviate add {
9             type string;
10         }
11     }
12
13     leaf my-leaf {
14         type int32;
15     }
16 }