rust/src/test/ui/parser/extern-foreign-crate.rs

5 lines
145 B
Rust

// Verifies that the expected token errors for `extern crate` are
// raised
extern crate foo {} //~ERROR expected one of `;` or `as`, found `{`