From 7e2fcc27e1b359efbdcc16b0aaabe6f7e09d8b4a Mon Sep 17 00:00:00 2001 From: sinkuu Date: Mon, 9 Jan 2017 12:11:12 +0900 Subject: Fix #1258 (#1266) * Fix #1258 * Add test --- tests/source/structs.rs | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'tests/source') diff --git a/tests/source/structs.rs b/tests/source/structs.rs index ff297655713..5a13d59f572 100644 --- a/tests/source/structs.rs +++ b/tests/source/structs.rs @@ -153,4 +153,15 @@ struct Issue677 { } struct Foo {} +struct Foo { + } +struct Foo { + // comment + } +struct Foo { + // trailing space -> + + + } +struct Foo { /* comment */ } struct Foo(); -- cgit 1.4.1-3-g733a5