aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlformat/data/QtBug85003.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qmlformat/data/QtBug85003.qml')
-rw-r--r--tests/auto/qml/qmlformat/data/QtBug85003.qml6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/qml/qmlformat/data/QtBug85003.qml b/tests/auto/qml/qmlformat/data/QtBug85003.qml
new file mode 100644
index 0000000000..5d039cb9ca
--- /dev/null
+++ b/tests/auto/qml/qmlformat/data/QtBug85003.qml
@@ -0,0 +1,6 @@
+Item {
+ Component.onCompleted:
+ {
+ if (3 < 2) console.log("Foo"); else { console.log("Bar"); }
+ }
+}