7 lines
197 B
Rust
7 lines
197 B
Rust
// Test that we do some basic error correction in the tokeniser (and don't ICE).
|
|
|
|
fn main() {
|
|
if foo {
|
|
//~^ ERROR: cannot find value `foo`
|
|
) //~ ERROR: incorrect close delimiter: `)`
|
|
}
|