aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/compile/issue-2847.rs
blob: 2bc556666c19d8928b1365e3921f6b2ab33e5047 (plain)
1
2
3
4
5
6
7
8
pub fn myfun1((x, _): (i32, i32)) -> i32 {
    x
}

pub fn myfun2() -> i32 {
    let (x, _) = (1, 2);
    x
}