summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/issue-4020.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/rustfmt/tests/target/issue-4020.rs')
-rw-r--r--src/tools/rustfmt/tests/target/issue-4020.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/tools/rustfmt/tests/target/issue-4020.rs b/src/tools/rustfmt/tests/target/issue-4020.rs
new file mode 100644
index 000000000..f29ecec02
--- /dev/null
+++ b/src/tools/rustfmt/tests/target/issue-4020.rs
@@ -0,0 +1,9 @@
+// rustfmt-wrap_comments: true
+
+/** foobar */
+const foo1: u32 = 0;
+
+/**
+ * foobar
+ */
+const foo2: u32 = 0;