Sign in
android
/
toolchain
/
rustc
/
951ae7a5eefab93734d1309f0497487f13f59fbf
/
.
/
tests
/
ui
/
check-cfg
/
empty-values.rs
blob: 9bda42e5d15fe703fe68d26872b51d8f1e624ce2 [
file
] [
log
] [
blame
]
// Check warning for unexpected cfg value
//
// check-pass
// compile-flags: --check-cfg=values() -Z unstable-options
#[
cfg
(
test
=
"value"
)]
//~^ WARNING unexpected `cfg` condition value
pub
fn
f
()
{}
fn
main
()
{}