Fix identityref wildcards
[mdsal.git] / binding / mdsal-binding-java-api-generator / src / test / resources / compilation / mdsal732 / mdsal732.yang
1 module mdsal732 {
2   namespace mdsal732;
3   prefix mdsal732;
4
5   grouping grp {
6     leaf foo {
7       type leafref {
8         path ../xyzzy;
9       }
10     }
11
12     leaf-list bar {
13       type leafref {
14         path ../xyzzy;
15       }
16     }
17
18     leaf-list baz {
19       type leafref {
20         path ../xyzzy;
21       }
22       ordered-by user;
23     }
24   }
25
26   identity foo;
27
28   container xyzzy {
29     leaf xyzzy {
30       type identityref {
31         base foo;
32       }
33     }
34
35     uses grp;
36   }
37 }
38