aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlformat/data/threeFunctions.formattedW2.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qmlformat/data/threeFunctions.formattedW2.js')
-rw-r--r--tests/auto/qml/qmlformat/data/threeFunctions.formattedW2.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/auto/qml/qmlformat/data/threeFunctions.formattedW2.js b/tests/auto/qml/qmlformat/data/threeFunctions.formattedW2.js
new file mode 100644
index 0000000000..afcf8acf02
--- /dev/null
+++ b/tests/auto/qml/qmlformat/data/threeFunctions.formattedW2.js
@@ -0,0 +1,9 @@
+function one() {
+ var a = 1;
+}
+function two(a, b) {
+ console.log(a, b);
+}
+function three(c) {
+ var a = c;
+}