Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
check-cfg
/
allow-at-crate-level.rs
blob: 48258b97ccc4e0493262c5498f69d91d092aa561 [
file
] [
log
] [
blame
]
// This test check that #![allow(unexpected_cfgs)] works with --cfg
//
//@ check-pass
//@ compile-flags: --cfg=unexpected --check-cfg=cfg() -Z unstable-options
#![
allow
(
unexpected_cfgs
)]
fn
main
()
{}