rust/tests/ui/keyword/extern/keyword-extern-as-identifier-pat.rs

4 lines
88 B
Rust
Raw Normal View History

2019-01-13 07:18:00 -06:00
fn main() {
let extern = 0; //~ ERROR expected identifier, found keyword `extern`
2019-01-13 07:18:00 -06:00
}