aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlformat/data/nestedFunctions.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qmlformat/data/nestedFunctions.qml')
-rw-r--r--tests/auto/qml/qmlformat/data/nestedFunctions.qml14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/auto/qml/qmlformat/data/nestedFunctions.qml b/tests/auto/qml/qmlformat/data/nestedFunctions.qml
new file mode 100644
index 0000000000..592e3197ab
--- /dev/null
+++ b/tests/auto/qml/qmlformat/data/nestedFunctions.qml
@@ -0,0 +1,14 @@
+Item {
+function a() {
+ function nested() {}
+
+ foo();
+}
+
+function b() {
+ function nested() {}
+
+ bar();
+}
+
+} \ No newline at end of file