mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-24 06:18:30 +03:00
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() {}
|