Adjust test suite parser update to conform with API changes
[yangtools.git] / yang / yang-parser-rfc7950 / src / test / resources / rfc7950 / bug6901 / invalid-foo-enum-3.yang
1 module invalid-foo-enum-3 {
2     namespace "foo";
3     prefix foo;
4     yang-version 1.1;
5
6     feature f;
7
8     typedef enum-typedef {
9         type enumeration {
10             enum one;
11             enum two {
12                 if-feature f;
13             }
14             enum three;
15         }
16         description "enum-typedef desc";
17     }
18
19     typedef enum-typedef-2 {
20         type enum-typedef;
21         description "enum-typedef-2 desc";
22     }
23
24     leaf enum-leaf {
25         type enum-typedef-2;
26         default two;
27     }
28 }