summaryrefslogtreecommitdiffstats
path: root/tests/ui/conditional-compilation/cfg-attr-multi-invalid-1.rs
blob: 42ffb71e3d7b92dc10fe7a28089747ab65b773a8 (plain)
1
2
3
4
5
6
7
// compile-flags: --cfg broken

#![crate_type = "lib"]
#![cfg_attr(broken, no_core, no_std)]
//~^ ERROR the `#[no_core]` attribute is an experimental feature

pub struct S {}