rust/tests/ui/cfg/cfg-in-crate-1.rs

7 lines
103 B
Rust

//@ run-pass
//@ compile-flags: --cfg bar --check-cfg=cfg(bar) -D warnings
#![cfg(bar)]
fn main() {}