rust/tests/ui/parser/extern-foreign-crate.rs
2023-01-11 09:32:08 +00:00

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 `{`