blob: d4b7d3bbfdca2ee42f3ca178b74b9c974feef954 [file] [log] [blame]
/// Test that `--cfg false` doesn't cause `cfg(false)` to evaluate to `true`
//@ compile-flags: --cfg false
#[cfg(false)]
fn foo() {}
fn main() {
foo(); //~ ERROR cannot find function `foo` in this scope
}