aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/compile/torture/block_expr4.rs
blob: da033ef9ef4e087eb09e7274386bab5325796231 (plain)
1
2
3
4
5
6
7
8
fn foo() -> isize {
    0
}

fn main() {
    let a = foo();
    // { dg-warning "unused name" "" { target *-*-* } .-1 }
}