summaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlengine/data/evilSingletonInstantiation.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qqmlengine/data/evilSingletonInstantiation.qml')
-rw-r--r--tests/auto/qml/qqmlengine/data/evilSingletonInstantiation.qml6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlengine/data/evilSingletonInstantiation.qml b/tests/auto/qml/qqmlengine/data/evilSingletonInstantiation.qml
new file mode 100644
index 0000000000..757b0c90bb
--- /dev/null
+++ b/tests/auto/qml/qqmlengine/data/evilSingletonInstantiation.qml
@@ -0,0 +1,6 @@
+import QtQml 2.12
+import foo.foo 1.0
+
+QtObject {
+ objectName: Singleton.objectName
+}