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