rust/tests/ui/parser/extern-expected-fn-or-brace.rs

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`