rust/tests/ui/keyword/extern/keyword-extern-as-identifier-expr.rs
2023-01-11 09:32:08 +00:00

4 lines
98 B
Rust

fn main() {
let s = extern::foo::Bar; //~ ERROR expected expression, found keyword `extern`
}