rust/tests/ui/parser/extern-expected-fn-or-brace.rs
2023-01-11 09:32:08 +00:00

4 lines
138 B
Rust

// Verifies that the expected token errors for `extern crate` are raised.
extern "C" mod foo; //~ERROR expected `{`, found keyword `mod`