aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlformat/data/twoFunctions.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qmlformat/data/twoFunctions.js')
-rw-r--r--tests/auto/qml/qmlformat/data/twoFunctions.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/qml/qmlformat/data/twoFunctions.js b/tests/auto/qml/qmlformat/data/twoFunctions.js
new file mode 100644
index 0000000000..b410ebd167
--- /dev/null
+++ b/tests/auto/qml/qmlformat/data/twoFunctions.js
@@ -0,0 +1,3 @@
+function one(){var a=1;if (a===true){a=5;}}
+
+function two(a,b){for(;b<5;++b){a=a*b;}}