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