parent
6e1f9ad1f1
commit
35b27aa172
1 changed files with 7 additions and 0 deletions
7
src/test/compile-fail/empty-record-type.rs
Normal file
7
src/test/compile-fail/empty-record-type.rs
Normal file
|
@ -0,0 +1,7 @@
|
|||
// error-pattern:unexpected token: '}'
|
||||
// Issue #1200
|
||||
|
||||
type t = {};
|
||||
|
||||
fn main() {
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue