(root)/
gcc-13.2.0/
gcc/
testsuite/
rust/
compile/
torture/
block_expr1.rs
fn test3(x: i32) -> i32 {
    if x > 1 {
        5
    } else {
        0
    }
}

fn test5(x: i32) -> i32 {
    if x > 1 {
        if x == 5 {
            7
        } else {
            9
        }
    } else {
        0
    }
}

fn main() {
    let call3: i32 = { test3(3) + 2 };
    // { dg-warning "unused name" "" { target *-*-* } .-1 }
    let call5 = {
        // { dg-warning "unused name" "" { target *-*-* } .-1 }
        let a = test5(5);
        a + 1
    };
}