about summary refs log tree commit diff
path: root/tests/source
diff options
context:
space:
mode:
authorsinkuu <sinkuu@users.noreply.github.com>2017-01-09 12:11:12 +0900
committerNick Cameron <nrc@ncameron.org>2017-01-09 16:11:12 +1300
commit7e2fcc27e1b359efbdcc16b0aaabe6f7e09d8b4a (patch)
tree992551ce1a8696b6d2f74c7011bd28bb3a00845a /tests/source
parentad46f9af95e3eefdd0e0b46084aba50568642aea (diff)
Fix #1258 (#1266)
* Fix #1258

* Add test
Diffstat (limited to 'tests/source')
-rw-r--r--tests/source/structs.rs11
1 files changed, 11 insertions, 0 deletions
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();