From af1a266670d040d2f4083ff309d732d648afba2a Mon Sep 17 00:00:00 2001 From: Angelos Mouzakitis Date: Tue, 10 Oct 2023 14:33:42 +0000 Subject: Add submodule dependency files Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec --- dtc/tests/sourceoutput.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 dtc/tests/sourceoutput.dts (limited to 'dtc/tests/sourceoutput.dts') diff --git a/dtc/tests/sourceoutput.dts b/dtc/tests/sourceoutput.dts new file mode 100644 index 000000000..5a7459bff --- /dev/null +++ b/dtc/tests/sourceoutput.dts @@ -0,0 +1,14 @@ +/dts-v1/; + +/ { + /* Some versions had an off-by-2 bug which caused an abort + * when outputting 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: ; +}; + -- cgit