aboutsummaryrefslogtreecommitdiffstats
path: root/tests/path-references.dts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/path-references.dts')
-rw-r--r--tests/path-references.dts13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/path-references.dts b/tests/path-references.dts
index b00fd79061fa..8c66d8057bbd 100644
--- a/tests/path-references.dts
+++ b/tests/path-references.dts
@@ -12,4 +12,17 @@
ref = &{/node1}; /* reference after target */
lref = &n1;
};
+ /* Check references to nested nodes with common prefix */
+ foobar {
+ n3: baz {
+ ref = &{/foo/baz};
+ lref = &n4;
+ };
+ };
+ foo {
+ n4: baz {
+ ref = &{/foobar/baz};
+ lref = &n3;
+ };
+ };
};