Validate cross-revision imports and includes
[yangtools.git] / parser / rfc8040-parser-support / src / test / resources / yang-data-extension-test / bar.yang
1 module bar {
2     namespace bar;
3     prefix bar;
4
5     import ietf-restconf {
6         prefix rc;
7     }
8
9     revision 2017-06-01;
10
11     container cont {
12         rc:yang-data "my-yang-data" {
13             // only one top-level container is allowed, but in this case it does not matter
14             // as the whole yang-data node is ignored (because it does not appear as a top-level statement)
15             container top-level-cont {}
16             container another-top-level-cont {}
17         }
18     }
19 }