Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
parser
/
attribute
/
attrs-after-extern-mod.rs
blob: e3f0fa0fc46ac1bd685dc8cbc7160cd5c117c8a1 [
file
] [
log
] [
blame
] [
edit
]
// Make sure there's an error when given `extern { ... #[attr] }`.
fn
main
()
{}
extern
"C"
{
#[
cfg
(
stage37
)]
//~ ERROR expected item after attributes
}