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