summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativestates/data/anchorChangesCrash.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/qdeclarativestates/data/anchorChangesCrash.qml')
-rw-r--r--tests/auto/declarative/qdeclarativestates/data/anchorChangesCrash.qml14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativestates/data/anchorChangesCrash.qml b/tests/auto/declarative/qdeclarativestates/data/anchorChangesCrash.qml
new file mode 100644
index 0000000..861ef8f
--- /dev/null
+++ b/tests/auto/declarative/qdeclarativestates/data/anchorChangesCrash.qml
@@ -0,0 +1,14 @@
+import Qt 4.7
+
+Rectangle {
+ id: container
+ width: 400
+ height: 400
+
+ states: State {
+ name: "reanchored"
+ AnchorChanges {
+ anchors.top: container.top
+ }
+ }
+}