aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmllint/data/jsVarDeclarations.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qmllint/data/jsVarDeclarations.qml')
-rw-r--r--tests/auto/qml/qmllint/data/jsVarDeclarations.qml9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/auto/qml/qmllint/data/jsVarDeclarations.qml b/tests/auto/qml/qmllint/data/jsVarDeclarations.qml
new file mode 100644
index 0000000000..6297bf002c
--- /dev/null
+++ b/tests/auto/qml/qmllint/data/jsVarDeclarations.qml
@@ -0,0 +1,9 @@
+import QtQuick
+
+import "jsVarDeclarations.js" as JSVars
+
+Item {
+ property int varProp: JSVars.varProp
+ property var letProp: JSVars.letProp
+ property string constProp: JSVars.constProp
+}