blob: d64907780efb512f838d44392b8d3783063c29cc [file] [log] [blame]
// Test that we do some basic error correction in the tokeniser.
fn main() {
foo(bar(;
//~^ ERROR cannot find function `bar` in this scope
}
//~^ ERROR: incorrect close delimiter: `}`
fn foo(_: usize) {}