summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/issue-3132.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/rustfmt/tests/target/issue-3132.rs')
-rw-r--r--src/tools/rustfmt/tests/target/issue-3132.rs15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/tools/rustfmt/tests/target/issue-3132.rs b/src/tools/rustfmt/tests/target/issue-3132.rs
new file mode 100644
index 000000000..4dffe0ab8
--- /dev/null
+++ b/src/tools/rustfmt/tests/target/issue-3132.rs
@@ -0,0 +1,15 @@
+// rustfmt-version: Two
+
+fn test() {
+ /*
+ a
+ */
+ let x = 42;
+ /*
+ aaa
+ "line 1
+ line 2
+ line 3"
+ */
+ let x = 42;
+}