aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/compile/torture/deref1.rs
blob: d715ce96c7921b6df3fe724100914838061fb46b (plain)
1
2
3
4
5
6
fn main() {
    let a = 123;
    let b = &a;
    let c = *b;
    // { dg-warning "unused name" "" { target *-*-* } .-1 }
}