rust/tests/ui/parser/attrs-after-extern-mod.rs
2023-01-11 09:32:08 +00:00

7 lines
158 B
Rust

// Make sure there's an error when given `extern { ... #[attr] }`.
fn main() {}
extern "C" {
#[cfg(stage37)] //~ ERROR expected item after attributes
}