summaryrefslogtreecommitdiffstats
path: root/qemu/dtc/tests/reuse-label.dts
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/dtc/tests/reuse-label.dts')
-rw-r--r--qemu/dtc/tests/reuse-label.dts15
1 files changed, 15 insertions, 0 deletions
diff --git a/qemu/dtc/tests/reuse-label.dts b/qemu/dtc/tests/reuse-label.dts
new file mode 100644
index 000000000..98b5ca9dc
--- /dev/null
+++ b/qemu/dtc/tests/reuse-label.dts
@@ -0,0 +1,15 @@
+/dts-v1/;
+
+/ {
+ label: property1 = "foo";
+ label: property2 = "bar";
+
+ test1 = &label;
+
+ label: node1 {
+ prop = "foo";
+ };
+ label: node2 {
+ prop = "bar";
+ };
+};