]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/attrs-after-extern-mod.rs
Merge commit '7c7683c8efe447b251d6c5ca6cce51233060f6e8' into clippyup
[rust.git] / src / test / ui / parser / attrs-after-extern-mod.rs
1 // Make sure there's an error when given `extern { ... #[attr] }`.
2
3 fn main() {}
4
5 extern "C" {
6     #[cfg(stage37)] //~ ERROR expected item after attributes
7 }