Do not create effective copy for unsupported statements
[yangtools.git] / parser / yang-parser-rfc7950 / src / test / resources / bugs / YT1532 / augment-with-no-description-all-leafs-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           if-feature alpha;
20           type string;
21         }
22       }
23     }
24   }
25
26   uses bar-group {
27     augment foo {
28       leaf baz {
29         type string;
30       }
31     }
32   }
33 }