aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmllanguage/data/listProperties.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qqmllanguage/data/listProperties.qml')
-rw-r--r--tests/auto/qml/qqmllanguage/data/listProperties.qml9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmllanguage/data/listProperties.qml b/tests/auto/qml/qqmllanguage/data/listProperties.qml
new file mode 100644
index 0000000000..dcfe37d6fc
--- /dev/null
+++ b/tests/auto/qml/qqmllanguage/data/listProperties.qml
@@ -0,0 +1,9 @@
+import QtQuick 2.0
+
+QtObject {
+ property list<QtObject> listProperty
+ property int test: listProperty.length
+
+ listProperty: [ QtObject{}, QtObject {} ]
+}
+