Sign in
android
/
toolchain
/
rustc
/
5139364148b53d79de1b5e778004d41a6a33a4a2
/
.
/
tests
/
ui
/
check-cfg
/
stmt-no-ice.rs
blob: 383e830a1b225e6589207f6da8f1b0315ba88a6a [
file
] [
log
] [
blame
]
// This test checks that there is no ICE with this code
//
// check-pass
// compile-flags:--check-cfg=cfg() -Z unstable-options
fn
main
()
{
#[
cfg
(
crossbeam_loom
)]
//~^ WARNING unexpected `cfg` condition name
{}
}