Debian Codegraph @

gcc/testsuite/rust/execute/torture/cfg5.rs

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 }