Bug 6410: Fixed initialization of typedefs in rpc
[yangtools.git] / yang / yang-parser-impl / src / test / resources / bugs / bug6410 / bar.yang
1 module bar {
2     namespace bar-namespace;
3     prefix bar-prefix;
4
5     revision 2016-08-16;
6
7     rpc test-rpc {
8         typedef test-string-typedef {
9             type string {
10                 length "5..15";
11             }
12             default "def-val";
13         }
14         typedef test-string-typedef {
15             type string {
16                 range "5..15";
17             }
18             default "def-val";
19         }
20     }
21 }