☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
rust
/
execute
/
torture
/
cfg5.rs
☽
☼
gcc/testsuite/rust/execute/torture/cfg5.rs
code
plain
raw
1
// { dg-additional-options "-w -frust-cfg=A" }
2
3
fn main() -> i32 {
4
let mut a = 0;
5
6
#[cfg(A)]
7
a = 3;
8
9
#[cfg(B)]
10
a = 40;
11
12
a - 3
13
}