Bug 6180 - Parser: Backslash double-quote in double-quoted string not recognized
[yangtools.git] / yang / yang-parser-impl / src / test / resources / bugs / bug6180 / single-quotes.yang
1 module single-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     container bar {
16         when '/foo != "bar"';
17     }
18 }