aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/execute/torture/cfg-tail.rs
blob: 69411a6cdbccd45140de1f25a96c63170a2f63c9 (plain)
1
2
3
4
5
6
7
8
9
fn foo() -> i32 {
    {54}
    #[cfg(all(A, not(A)))]
    {45}
}

fn main() -> i32 {
    return foo() - 54;
}