Sign in
rust
/
rust-lang
/
rust
/
refs/heads/try
/
.
/
tests
/
ui
/
attributes
/
z-crate-attr
/
cfg-false.rs
blob: 5e5662c74385fe4ee62ea0adca79434b3a08dee7 [
file
] [
log
] [
blame
]
// Ensure that `-Z crate-attr=cfg(false)` can comment out the whole crate
//@ compile-flags: --crate-type=lib -Zcrate-attr=cfg(false)
//@ check-pass
// NOTE: duplicate items are load-bearing
fn
foo
()
{}
fn
foo
()
{}