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 20:43:57 +00:00
fn main() {}
2013-08-19 20:43:57 +00:00
2020-09-01 21:12:52 +00:00
extern "C" {
2013-08-19 20:43:57 +00:00
#[cfg(stage37)] //~ ERROR expected item after attributes
}