aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlformat/data/nestedFunctions.formatted.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qmlformat/data/nestedFunctions.formatted.qml')
-rw-r--r--tests/auto/qml/qmlformat/data/nestedFunctions.formatted.qml16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/auto/qml/qmlformat/data/nestedFunctions.formatted.qml b/tests/auto/qml/qmlformat/data/nestedFunctions.formatted.qml
new file mode 100644
index 0000000000..5a3489e98f
--- /dev/null
+++ b/tests/auto/qml/qmlformat/data/nestedFunctions.formatted.qml
@@ -0,0 +1,16 @@
+Item {
+ function a() {
+ function nested() {
+ }
+
+ foo();
+ }
+
+ function b() {
+ function nested() {
+ }
+
+ bar();
+ }
+
+}