Bug 6180 - Parser: Backslash double-quote in double-quoted string not recognized
[yangtools.git] / yang / yang-parser-impl / src / test / resources / bugs / bug6180 / double-quotes.yang
1 module double-quotes {
2     namespace "foo";
3     prefix "foo";
4     revision 2016-07-11;
5
6     typedef double-quoted {
7         type string {
8             pattern "\".*\"";
9         }
10     }
11
12     leaf foo {
13         type string;
14     }
15
16     container bar {
17         when "/foo != \"bar\"";
18     }
19 }