summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/issue-977.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/rustfmt/tests/target/issue-977.rs')
-rw-r--r--src/tools/rustfmt/tests/target/issue-977.rs16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/tools/rustfmt/tests/target/issue-977.rs b/src/tools/rustfmt/tests/target/issue-977.rs
new file mode 100644
index 000000000..3784a3874
--- /dev/null
+++ b/src/tools/rustfmt/tests/target/issue-977.rs
@@ -0,0 +1,16 @@
+// rustfmt-normalize_comments: true
+
+trait NameC {
+ // comment
+}
+struct FooC {
+ // comment
+}
+enum MooC {
+ // comment
+}
+mod BarC { // comment
+}
+extern "C" {
+ // comment
+}