dd87930704df97041cad90c4611d071fddb40a36
[yangtools.git] / yang / yang-parser-impl / src / test / resources / rfc7950 / bug6887 / bar10-valid.yang
1 module bar {
2     namespace bar;
3     prefix bar;
4
5     revision 2017-02-21;
6
7     extension ext;
8
9     typedef my-base-bits-type {
10         type bits {
11             bit bit-a {
12                 position 1;
13             }
14             bit bit-b {
15                 position 2;
16             }
17             bit bit-c {
18                 position 3;
19             }
20             bit bit-d {
21                 position 4;
22             }
23         }
24     }
25
26     leaf my-bits-leaf {
27         type my-base-bits-type {
28             bar:ext;
29         }
30     }
31 }