Debian Codegraph @

gcc/testsuite/rust/compile/cfg-attr.rs

raw
1 // { dg-additional-options "-w -frust-cfg=A" }
2 #![cfg_attr(not(B), allow(dead_code))]
3 #![cfg_attr(A, allow(while_true))]
4
5 #[cfg_attr(not(B), allow(deprecated))]
6 #[cfg_attr(A, allow(drop_bounds))]
7 fn main() { }