blob: 9bda42e5d15fe703fe68d26872b51d8f1e624ce2 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// 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() {}
|