☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
rust
/
compile
/
cfg-attr.rs
☽
☼
gcc/testsuite/rust/compile/cfg-attr.rs
code
plain
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() { }