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