summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-41479.rs
blob: 6daaf440e4b7babba5bac75107be07f824895e52 (plain)
1
2
3
4
5
6
7
8
9
// run-pass
fn split<A, B>(pair: (A, B)) {
    let _a = pair.0;
    let _b = pair.1;
}

fn main() {
    split(((), ((), ())));
}