summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/anchors/data/illegal3.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/anchors/data/illegal3.qml')
-rw-r--r--tests/auto/declarative/anchors/data/illegal3.qml10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/auto/declarative/anchors/data/illegal3.qml b/tests/auto/declarative/anchors/data/illegal3.qml
new file mode 100644
index 0000000..fa48b78
--- /dev/null
+++ b/tests/auto/declarative/anchors/data/illegal3.qml
@@ -0,0 +1,10 @@
+Rect {
+ id: rect
+ width: 120; height: 200; color: "white"
+ Item {
+ Rect { id: TheRect; width: 100; height: 100 }
+ }
+ Rect {
+ anchors.left: TheRect.left
+ }
+}