summaryrefslogtreecommitdiffstats
path: root/src/dtc/tests/nonexist-node-ref2.dts
diff options
context:
space:
mode:
Diffstat (limited to 'src/dtc/tests/nonexist-node-ref2.dts')
-rw-r--r--src/dtc/tests/nonexist-node-ref2.dts10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/dtc/tests/nonexist-node-ref2.dts b/src/dtc/tests/nonexist-node-ref2.dts
new file mode 100644
index 0000000..44b4ebe
--- /dev/null
+++ b/src/dtc/tests/nonexist-node-ref2.dts
@@ -0,0 +1,10 @@
+/dts-v1/;
+
+/ {
+ label: node {
+ };
+};
+
+/* Try to redefine a node using a non-existent label */
+&nosuchnode {
+};
OpenPOWER on IntegriCloud