aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlparser/data/disallowedtypeannotations/functionexpr.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qqmlparser/data/disallowedtypeannotations/functionexpr.js')
-rw-r--r--tests/auto/qml/qqmlparser/data/disallowedtypeannotations/functionexpr.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlparser/data/disallowedtypeannotations/functionexpr.js b/tests/auto/qml/qqmlparser/data/disallowedtypeannotations/functionexpr.js
new file mode 100644
index 0000000000..33f2abbb61
--- /dev/null
+++ b/tests/auto/qml/qqmlparser/data/disallowedtypeannotations/functionexpr.js
@@ -0,0 +1,3 @@
+(function x() : string {
+ return "ko"
+})