]> git.lizzy.rs Git - rust.git/blob - src/test/ui/conditional-compilation/cfg-attr-multi-invalid-2.rs
Merge commit '39683d8eb7a32a74bea96ecbf1e87675d3338506' into sync_cg_gcc-2022-03-26
[rust.git] / src / test / ui / conditional-compilation / cfg-attr-multi-invalid-2.rs
1 // compile-flags: --cfg broken
2
3 #![crate_type = "lib"]
4 #![cfg_attr(broken, no_std, no_core)]
5 //~^ ERROR the `#[no_core]` attribute is an experimental feature
6
7 pub struct S {}