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