550d05b5f57f34d598e47d3ad027dea20b3bbeff
[yangtools.git] / yang / yang-parser-impl / src / test / resources / rfc7950 / bug6901 / invalid-foo-10-bit.yang
1 module invalid-foo-10-bit {
2     namespace "foo";
3     prefix foo;
4
5     feature f;
6
7     typedef bits-typedef {
8         type bits {
9             bit one;
10             bit two {
11                 if-feature f;
12             }
13             bit three;
14         }
15     }
16
17     typedef bits-typedef-2 {
18         type bits-typedef;
19         default three;
20     }
21
22     leaf bit-leaf {
23         type bits-typedef-2;
24     }
25 }