aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmllint/data
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qmllint/data')
-rw-r--r--tests/auto/qml/qmllint/data/useBeforeDeclaration.qml8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/auto/qml/qmllint/data/useBeforeDeclaration.qml b/tests/auto/qml/qmllint/data/useBeforeDeclaration.qml
new file mode 100644
index 0000000000..1c0f8092c3
--- /dev/null
+++ b/tests/auto/qml/qmllint/data/useBeforeDeclaration.qml
@@ -0,0 +1,8 @@
+import QtQml
+QtObject {
+ signal sig()
+ onSig: ()=> {
+ argq = 12;
+ var argq;
+ }
+}