aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmllint/data/writeListProperty.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qmllint/data/writeListProperty.qml')
-rw-r--r--tests/auto/qml/qmllint/data/writeListProperty.qml7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/auto/qml/qmllint/data/writeListProperty.qml b/tests/auto/qml/qmllint/data/writeListProperty.qml
new file mode 100644
index 0000000000..8015fdf51b
--- /dev/null
+++ b/tests/auto/qml/qmllint/data/writeListProperty.qml
@@ -0,0 +1,7 @@
+import QtQuick
+
+Item {
+ id: self
+ property Item a: Item { id: a }
+ Component.onCompleted: self.data = [ a ]
+}