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

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

pub struct S {}