aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/compile/issue-3645.rs
blob: 91285f1991ba2d62e2951beb84341acf1630a6a3 (plain)
1
2
3
4
5
6
// { dg-warning "unused name 'y'" "" { target *-*-* } 5 }
// { dg-warning "unused name 'z'" "" { target *-*-* } 5 }

fn main() {
    let (ref y,z) = (1i32, 2u32);
}