aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmllint/data/unused_multi.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qmllint/data/unused_multi.qml')
-rw-r--r--tests/auto/qml/qmllint/data/unused_multi.qml7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/auto/qml/qmllint/data/unused_multi.qml b/tests/auto/qml/qmllint/data/unused_multi.qml
new file mode 100644
index 0000000000..f078eadf0c
--- /dev/null
+++ b/tests/auto/qml/qmllint/data/unused_multi.qml
@@ -0,0 +1,7 @@
+// This is the one kind of unused import we currently do not warn about:
+// If two imports provide the same type, one of them could be considered unused.
+// We do not however warn here because there might be legitimate reasons why a user would want this.
+import QtQuick
+import QtQml
+
+QtObject {}