diff options
Diffstat (limited to 'tests/sourceoutput.dts')
| -rw-r--r-- | tests/sourceoutput.dts | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/sourceoutput.dts b/tests/sourceoutput.dts new file mode 100644 index 000000000000..477762f5aaa7 --- /dev/null +++ b/tests/sourceoutput.dts @@ -0,0 +1,14 @@ +/dts-v1/; + +/ { + /* Some versions had an off-by-2 bug which caused an abort + * when outputing labels within strings like this in source + * format */ + prop1: prop1 = start1: "foo", mid1: "bar" end1: ; + + /* Make sure that we correctly handle source output of things + * which could almost be expressed as strings, except for the + * embedded labels */ + prop2 = start2: [66 6f 6f], mid2: "bar" end2: ; +}; + |
