gccrs: Add execution test cases
[official-gcc.git] / gcc / testsuite / rust / execute / torture / cfg5.rs
blob581a29bb89d092227874737d7bc255f39ee47950
1 // { dg-additional-options "-w -frust-cfg=A" }
3 fn main() -> i32 {
4     let mut a = 0;
6     #[cfg(A)]
7     a = 3;
9     #[cfg(B)]
10     a = 40;
12     a - 3