aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlecmascript/data/jsObject.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qqmlecmascript/data/jsObject.qml')
-rw-r--r--tests/auto/qml/qqmlecmascript/data/jsObject.qml12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlecmascript/data/jsObject.qml b/tests/auto/qml/qqmlecmascript/data/jsObject.qml
new file mode 100644
index 0000000000..4223c25f31
--- /dev/null
+++ b/tests/auto/qml/qqmlecmascript/data/jsObject.qml
@@ -0,0 +1,12 @@
+import QtQuick 2.0
+
+QtObject {
+ property int test
+
+ Component.onCompleted: {
+ var o = new Object;
+ o.test = 92;
+ test = o.test;
+ }
+}
+