aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/compile/match-tuplestructpattern-rest.rs
blob: 4681acbfcb1b13b30aa732f6809b4d4d9a3c069a (plain)
1
2
3
4
5
6
7
8
9
fn main() {
    struct A (i32, i32);
    let a = A (0, 1);

    match a {
        A (0, ..) => {},
        _ => {}
    }
}