xref: /netbsd-src/external/gpl2/dtc/dist/tests/sourceoutput.dts (revision cc7d2833ecf67da5a5ddc470841931eb9f6723e4)
1b8ae3907Smacallan/dts-v1/;
2b8ae3907Smacallan
3b8ae3907Smacallan/ {
4b8ae3907Smacallan	/* Some versions had an off-by-2 bug which caused an abort
5*cc7d2833Sskrll	 * when outputting labels within strings like this in source
6b8ae3907Smacallan	 * format */
7b8ae3907Smacallan	prop1: prop1 = start1: "foo", mid1: "bar" end1: ;
8b8ae3907Smacallan
9b8ae3907Smacallan	/* Make sure that we correctly handle source output of things
10b8ae3907Smacallan	 * which could almost be expressed as strings, except for the
11b8ae3907Smacallan	 * embedded labels */
12b8ae3907Smacallan	prop2 = start2: [66 6f 6f], mid2: "bar" end2: ;
13b8ae3907Smacallan};
14b8ae3907Smacallan
15