summaryrefslogtreecommitdiffstats
path: root/src/dtc/tests/nonexist-node-ref.dts
diff options
context:
space:
mode:
Diffstat (limited to 'src/dtc/tests/nonexist-node-ref.dts')
-rw-r--r--src/dtc/tests/nonexist-node-ref.dts8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/dtc/tests/nonexist-node-ref.dts b/src/dtc/tests/nonexist-node-ref.dts
new file mode 100644
index 0000000..efd4140
--- /dev/null
+++ b/src/dtc/tests/nonexist-node-ref.dts
@@ -0,0 +1,8 @@
+/dts-v1/;
+
+/ {
+ ref = < &{/node} >;
+ badref = < &{/nosuchnode} >;
+ label: node {
+ };
+};
OpenPOWER on IntegriCloud