aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlcachegen/data/jsimport.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qmlcachegen/data/jsimport.qml')
-rw-r--r--tests/auto/qml/qmlcachegen/data/jsimport.qml6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/qml/qmlcachegen/data/jsimport.qml b/tests/auto/qml/qmlcachegen/data/jsimport.qml
new file mode 100644
index 0000000000..9c40878e60
--- /dev/null
+++ b/tests/auto/qml/qmlcachegen/data/jsimport.qml
@@ -0,0 +1,6 @@
+import QtQml 2.0
+import "script.js" as Script
+
+QtObject {
+ property int value: Script.getter()
+}