98ae30fb36eb5112685338a39133a3fc0c8e32b1
[yangtools.git] / parser / rfc8040-parser-support / src / test / resources / yang-data-extension-test / foo-invalid-3.yang
1 module foo {
2     namespace foo;
3     prefix foo;
4
5     import ietf-restconf {
6         prefix rc;
7         revision-date 2017-01-26;
8     }
9
10     revision 2017-06-01;
11
12     rc:yang-data "my-yang-data" {
13         // invalid top level node, it must be a container = should throw an exception
14         leaf lf {
15             type string;
16         }
17     }
18 }