Home | History | Annotate | Download | only in tests
      1 /dts-v1/;
      2 
      3 /* common format */
      4 #line 3 "foo.dts"
      5 /* newer gcc format */
      6 # 9 "baz.dts" 1
      7 /* flags are optional */
      8 # 6 "bar.dts"
      9 
     10 / {
     11 /*
     12  * Make sure optional flags don't consume integer data on next line. The issue
     13  * was that the {WS} in the trailing ({WS}+[0-9]+)? could cross the * line-
     14  * break, and consume the leading "0" of the hex constant, leaving "x12345678"
     15  * to be parsed as a number, which is invalid syntax.
     16  */
     17 	prop1 = <
     18 # 10 "qux.dts"
     19 		0x12345678
     20 	>;
     21 /*
     22  * Check processing of escapes in filenames
     23  */
     24 # 100 "\".dts"
     25 # 200 "\\.dts"
     26 };
     27