aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmllint/data/assignNonExistingTypeToVarProp.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qmllint/data/assignNonExistingTypeToVarProp.qml')
-rw-r--r--tests/auto/qml/qmllint/data/assignNonExistingTypeToVarProp.qml6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/qml/qmllint/data/assignNonExistingTypeToVarProp.qml b/tests/auto/qml/qmllint/data/assignNonExistingTypeToVarProp.qml
new file mode 100644
index 0000000000..dae699fae5
--- /dev/null
+++ b/tests/auto/qml/qmllint/data/assignNonExistingTypeToVarProp.qml
@@ -0,0 +1,6 @@
+import QtQuick
+
+ListView {
+ // model is a QVariant, so we can theoretically assign anything to it
+ model: NonExistingType {}
+}