summaryrefslogtreecommitdiffstats
path: root/src/dtc/tests/extra-terminating-null.dts
diff options
context:
space:
mode:
Diffstat (limited to 'src/dtc/tests/extra-terminating-null.dts')
-rw-r--r--src/dtc/tests/extra-terminating-null.dts11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/dtc/tests/extra-terminating-null.dts b/src/dtc/tests/extra-terminating-null.dts
new file mode 100644
index 0000000..b6cc19c
--- /dev/null
+++ b/src/dtc/tests/extra-terminating-null.dts
@@ -0,0 +1,11 @@
+/dts-v1/;
+
+/ {
+ extranull0 = "hello world";
+ extranull1,1 = "hello world\0";
+ extranull1,2 = "hello world", "";
+ extranull2,1 = "hello world\0\0";
+ extranull2,2 = "hello world", "", "";
+ extranull2,3 = "hello world\0", "";
+ extranull2,4 = "hello world", "\0";
+};
OpenPOWER on IntegriCloud