summaryrefslogtreecommitdiff
path: root/tests/extra-terminating-null.dts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/extra-terminating-null.dts')
-rw-r--r--tests/extra-terminating-null.dts11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/extra-terminating-null.dts b/tests/extra-terminating-null.dts
new file mode 100644
index 000000000000..b6cc19c1827d
--- /dev/null
+++ b/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";
+};