Bug 6771: Problem with typedefs nested in augment
[yangtools.git] / yang / yang-parser-impl / src / test / resources / bugs / bug6771 / grouping / typedef-bug.yang
1 module typedef-bug {
2     namespace "http://www.example.com/typedef-bug";
3     prefix tdb;
4
5     container root {
6         uses grp;
7     }
8
9     grouping grp {
10         container container-b {
11
12             typedef type-container-b {
13                 type uint32;
14             }
15
16             leaf leaf-container-b {
17                 type type-container-b;
18             }
19         }
20     }
21 }