aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeecmascript/data/propertyVarOwnership.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/qdeclarativeecmascript/data/propertyVarOwnership.qml')
-rw-r--r--tests/auto/declarative/qdeclarativeecmascript/data/propertyVarOwnership.qml22
1 files changed, 0 insertions, 22 deletions
diff --git a/tests/auto/declarative/qdeclarativeecmascript/data/propertyVarOwnership.qml b/tests/auto/declarative/qdeclarativeecmascript/data/propertyVarOwnership.qml
deleted file mode 100644
index 7b99c4b6ad..0000000000
--- a/tests/auto/declarative/qdeclarativeecmascript/data/propertyVarOwnership.qml
+++ /dev/null
@@ -1,22 +0,0 @@
-import QtQuick 2.0
-import Qt.test 1.0
-
-Item {
- id: testOwnership
- property bool test: false
-
- property var varProperty
-
- function runTest() {
- if (varProperty != undefined) return;
- varProperty = { a: 10, b: 11 }
- if (varProperty.a != 10) return;
-
- gc(); // Shouldn't collect
-
- if (varProperty.a != 10) return;
-
- test = true;
- }
-}
-