Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
HEAD
/
.
/
tests
/
ui
/
cfg
/
cfg-false-use-item.rs
blob: d37b48cdedb77ff51f3e4ab34a90821791dea9d1 [
file
] [
log
] [
blame
]
//! Test that use items with cfg(false) are properly filtered out
//@ run-pass
pub
fn
main
()
{
// Make sure that this view item is filtered out because otherwise it would
// trigger a compilation error
#[
cfg
(
false
)]
use
bar
as
foo
;
}