blob: f160f25a5eeaca81ae43d464932419be1b04e930 [file] [edit]
//! Regression test for <https://github.com/rust-lang/rust/issues/41479>.
//! Field access on zst tuple items used to trigger LLVM assertion.
//@ run-pass
fn split<A, B>(pair: (A, B)) {
let _a = pair.0;
let _b = pair.1;
}
fn main() {
split(((), ((), ())));
}