summaryrefslogtreecommitdiff
path: root/tests/auto/qml/qqmlecmascript/data/elementAssign.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qqmlecmascript/data/elementAssign.qml')
-rw-r--r--tests/auto/qml/qqmlecmascript/data/elementAssign.qml10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlecmascript/data/elementAssign.qml b/tests/auto/qml/qqmlecmascript/data/elementAssign.qml
new file mode 100644
index 0000000000..0d75cbf6fc
--- /dev/null
+++ b/tests/auto/qml/qqmlecmascript/data/elementAssign.qml
@@ -0,0 +1,10 @@
+import QtQuick 2.0
+
+QtObject {
+ id: root
+
+ property bool test: bound.value == 1923
+
+ property ElementAssignType element: ElementAssignType { value: 1923 }
+ property ElementAssignType bound: root.element
+}