Adjust test suite parser update to conform with API changes
[yangtools.git] / yang / yang-parser-impl / src / test / resources / rfc7950 / bug6887 / bar-invalid-2.yang
1 module bar {
2     namespace bar;
3     prefix bar;
4     yang-version 1.1;
5
6     revision 2017-02-02;
7
8     typedef my-base-bits-type {
9         type bits {
10             bit bit-a {
11                 position 1;
12             }
13             bit bit-b;
14             bit bit-c {
15                 position 3;
16             }
17             bit bit-d {
18                 position 4;
19             }
20         }
21     }
22
23     typedef my-derived-bits-type {
24         type my-base-bits-type {
25             bit bit-b;
26             bit bit-c {
27                 position 3;
28             }
29             bit bit-d {
30                 position 4;
31             }
32             bit bit-x {
33                 position 10;
34             }
35         }
36     }
37
38     leaf my-bits-leaf {
39         type my-derived-bits-type {
40             bit bit-b;
41             bit bit-c {
42                 position 3;
43             }
44         }
45     }
46 }