aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlformat/data/multilineComment.formatted.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qmlformat/data/multilineComment.formatted.qml')
-rw-r--r--tests/auto/qml/qmlformat/data/multilineComment.formatted.qml12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/auto/qml/qmlformat/data/multilineComment.formatted.qml b/tests/auto/qml/qmlformat/data/multilineComment.formatted.qml
new file mode 100644
index 0000000000..830ff32095
--- /dev/null
+++ b/tests/auto/qml/qmlformat/data/multilineComment.formatted.qml
@@ -0,0 +1,12 @@
+Item {
+ Item {
+ }
+
+ // This is a multiline comment.
+ // it should stay attached to Commented instead of getting orphaned.
+ //
+ // This should also stick to Commented
+ Commented {
+ }
+
+}