aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlcontext/data/qtbug_22535.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qqmlcontext/data/qtbug_22535.qml')
-rw-r--r--tests/auto/qml/qqmlcontext/data/qtbug_22535.qml10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlcontext/data/qtbug_22535.qml b/tests/auto/qml/qqmlcontext/data/qtbug_22535.qml
new file mode 100644
index 0000000000..3553f6c03b
--- /dev/null
+++ b/tests/auto/qml/qqmlcontext/data/qtbug_22535.qml
@@ -0,0 +1,10 @@
+import QtQuick 2.0
+
+Rectangle {
+ width: 64
+ height: 64
+
+ Object_22535 { id:o }
+
+ Component.onDestruction: o.goodBye()
+}