rust/tests/ui/parser/attrs-after-extern-mod.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
158 B
Rust
Raw Normal View History

// Make sure there's an error when given `extern { ... #[attr] }`.
2013-08-19 15:43:57 -05:00
fn main() {}
2013-08-19 15:43:57 -05:00
2020-09-01 16:12:52 -05:00
extern "C" {
2013-08-19 15:43:57 -05:00
#[cfg(stage37)] //~ ERROR expected item after attributes
}