Do not create effective copy for unsupported statements
[yangtools.git] / parser / yang-parser-rfc7950 / src / test / resources / bugs / YT1532 / augment-with-no-description-one-leaf-with-if-feature / foo.yang
1 module foo {
2   namespace "urn:foo";
3   prefix "foo";
4
5   feature alpha;
6
7   grouping foo-group {
8     container foo;
9   }
10
11   grouping bar-group {
12     uses foo-group {
13       augment foo {
14         leaf bar1 {
15           if-feature alpha;
16           type string;
17         }
18         leaf bar2 {
19           type string;
20         }
21       }
22     }
23   }
24
25   uses bar-group {
26     augment foo {
27       leaf baz {
28         type string;
29       }
30     }
31   }
32 }