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