]> git.lizzy.rs Git - rust.git/blobdiff - tests/source/structs.rs
Add test for empty tuple struct with comment
[rust.git] / tests / source / structs.rs
index 5786fef4839e0651a3db902c083ce149bf85291f..28bb95e1a2de3441fe83d784bea1d1612ef72156 100644 (file)
@@ -166,7 +166,7 @@ struct Foo {
 
     }
 struct Foo { /* comment */ }
-struct Foo();
+struct Foo( /* comment */ );
 
 struct LongStruct {
     a: A,