YANGTOOLS-706: Split out yang-parser-rfc7950
[yangtools.git] / yang / yang-parser-rfc7950 / src / test / resources / rfc7950 / bug6901 / invalid-foo-enum-2.yang
1 module invalid-foo-enum-2 {
2     namespace "foo";
3     prefix foo;
4     yang-version 1.1;
5
6     feature f;
7
8     leaf enum-leaf {
9         type enumeration {
10             enum one;
11             enum two {
12                 if-feature f;
13             }
14             enum three;
15         }
16         default two;
17     }
18 }