summaryrefslogtreecommitdiffstats
path: root/tests/pretty/issue-73626.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pretty/issue-73626.rs')
-rw-r--r--tests/pretty/issue-73626.rs34
1 files changed, 34 insertions, 0 deletions
diff --git a/tests/pretty/issue-73626.rs b/tests/pretty/issue-73626.rs
new file mode 100644
index 000000000..a002f09be
--- /dev/null
+++ b/tests/pretty/issue-73626.rs
@@ -0,0 +1,34 @@
+fn main(/*
+ ---
+*/) {
+ let x /* this is one line */ = 3;
+
+ let x /*
+ * this
+ * is
+ * multiple
+ * lines
+ */ = 3;
+
+ let x = /*
+ * this
+ * is
+ * multiple
+ * lines
+ * after
+ * the
+ * =
+ */ 3;
+
+ let x /*
+ * this
+ * is
+ * multiple
+ * lines
+ * including
+ * a
+
+ * blank
+ * line
+ */ = 3;
+}