rust/tests/ui/keyword/extern/keyword-extern-as-identifie...

5 lines
142 B
Rust

use extern::foo; //~ ERROR expected identifier, found keyword `extern`
//~| ERROR unresolved import `r#extern`
fn main() {}