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