rust/tests/ui/cfg/cfg-attr-cfg.rs
2023-01-11 09:32:08 +00:00

9 lines
177 B
Rust

// run-pass
// main is conditionally compiled, but the conditional compilation
// is conditional too!
// pretty-expanded FIXME #23616
#[cfg_attr(foo, cfg(bar))]
fn main() { }