]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/issue-62894.rs
Merge commit '03f01bbe901d60b71cf2c5ec766aef5e532ab79d' into update_cg_clif-2020...
[rust.git] / src / test / ui / parser / issue-62894.rs
1 // Regression test for #62894, shouldn't crash.
2 // error-pattern: this file contains an unclosed delimiter
3 // error-pattern: expected one of `(`, `[`, or `{`, found keyword `fn`
4
5 fn f() { assert_eq!(f(), (), assert_eq!(assert_eq!
6
7 fn main() {}