Binding generator v2 - Identityref - Compilability fix
[mdsal.git] / binding2 / mdsal-binding2-java-api-generator / src / test / resources / test-identityref.yang
1 module test-identityref{
2     namespace "urn:test:identityref";
3     prefix idref;
4     revision 2017-01-01;
5
6     identity alg {
7     }
8
9     typedef my-identityref {
10         type identityref {
11             base alg;
12         }
13     }
14
15     leaf ext-identityref {
16         type my-identityref;
17     }
18
19     leaf leaf-identityref {
20         type identityref {
21             base alg;
22         }
23     }
24 }