Adjust test suite parser update to conform with API changes
[yangtools.git] / yang / yang-parser-impl / src / test / resources / bugs / bug8831 / invalid / inv-model2.yang
1 module inv-model2 {
2     yang-version 1.1;
3     namespace "http://www.inv-model2.com";
4     prefix ex;
5
6     revision 2017-07-10;
7
8     feature my-feature {
9         description "my feature";
10     }
11
12     typedef enum-first {
13         type union {
14             type enumeration {
15                 enum "any" {
16                     if-feature my-feature;
17                 }
18             }
19             type uint16;
20         }
21     }
22
23     container top {
24         leaf enum-first-leaf {
25             type enum-first;
26             default "any";
27         }
28     }
29 }