about summary refs log tree commit diff
path: root/tests/ui/check-cfg/allow-at-crate-level.rs
blob: 48258b97ccc4e0493262c5498f69d91d092aa561 (plain)
1
2
3
4
5
6
7
8
// 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() {}