rust/tests/ui/issues/issue-41479.rs

10 lines
130 B
Rust

//@ run-pass
fn split<A, B>(pair: (A, B)) {
let _a = pair.0;
let _b = pair.1;
}
fn main() {
split(((), ((), ())));
}