rust/tests/ui/parser/issues/issue-62894.rs
2023-01-11 09:32:08 +00:00

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() {}