Do not catch instantiation exceptions during augment
[yangtools.git] / yang / yang-parser-rfc7950 / src / test / resources / bugs / bug8126 / inv-choice / ill1.yang
1 module ill1 {
2     namespace ill1;
3     prefix ill1;
4
5     import foo { prefix foo; }
6
7     //invalid augment (mandatory choice)
8     augment "/foo:root" {
9         container mandatory-container {
10             choice mandatory-choice {
11                 mandatory true;
12             }
13         }
14     }
15 }
16