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