aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmllint/data/JsLibrary/HelperLibrary.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qmllint/data/JsLibrary/HelperLibrary.js')
-rw-r--r--tests/auto/qml/qmllint/data/JsLibrary/HelperLibrary.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/qml/qmllint/data/JsLibrary/HelperLibrary.js b/tests/auto/qml/qmllint/data/JsLibrary/HelperLibrary.js
new file mode 100644
index 0000000000..cf75a11b72
--- /dev/null
+++ b/tests/auto/qml/qmllint/data/JsLibrary/HelperLibrary.js
@@ -0,0 +1,5 @@
+.pragma library
+
+function foo() {
+ return "Hello World";
+}