blob: be7fa10f8f67c8ee424ddd2395aa5ba6b5f1c7cb [file] [log] [blame]
// Check warning for unexpected cfg value
//
//@ check-pass
//@ no-auto-check-cfg
//@ revisions: empty_cfg without_names
//@ [empty_cfg]compile-flags: --check-cfg=cfg()
//@ [without_names]compile-flags: --check-cfg=cfg(any())
#[cfg(unix = "value")]
//~^ WARNING unexpected `cfg` condition value
pub fn f() {}
fn main() {}