8 lines
244 B
Rust
8 lines
244 B
Rust
// Regression test for #62894, shouldn't crash.
|
|
// error-pattern: this file contains an unclosed delimiter
|
|
// error-pattern: expected one of `(`, `[`, or `{`, found keyword `fn`
|
|
|
|
fn f() { assert_eq!(f(), (), assert_eq!(assert_eq!
|
|
|
|
fn main() {}
|