aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmllint/data/storeNameMethod.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qmllint/data/storeNameMethod.qml')
-rw-r--r--tests/auto/qml/qmllint/data/storeNameMethod.qml12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/auto/qml/qmllint/data/storeNameMethod.qml b/tests/auto/qml/qmllint/data/storeNameMethod.qml
new file mode 100644
index 0000000000..fca02b288f
--- /dev/null
+++ b/tests/auto/qml/qmllint/data/storeNameMethod.qml
@@ -0,0 +1,12 @@
+import QtQuick 2.15
+import QtQuick.Window 2.15
+
+Window {
+ Rectangle {
+
+ Timer {
+ function foo() {}
+ onTriggered: foo = 1
+ }
+ }
+}