Sign in
android
/
toolchain
/
rustc
/
d720b3f2ba07cb42ff7b311589c99daefe3aaa22
/
.
/
tests
/
ui
/
check-cfg
/
allow-upper-level.rs
blob: 04340694d9c1e333fc4af061966860d75502de30 [
file
] [
log
] [
blame
]
// This test check that #[allow(unexpected_cfgs)] work if put on an upper level
//
// check-pass
// compile-flags:--check-cfg=names() -Z unstable-options
#[
allow
(
unexpected_cfgs
)]
mod
aa
{
#[
cfg
(
FALSE
)]
fn
bar
()
{}
}
fn
main
()
{}