summaryrefslogtreecommitdiff
path: root/tests/mir-opt/const_prop/tuple_literal_propagation.rs
blob: edd748d00ab3e26182faa1f1cbe8c406ed176d06 (plain)
1
2
3
4
5
6
7
8
9
10
// ignore-wasm32 compiled with panic=abort by default
// EMIT_MIR tuple_literal_propagation.main.ConstProp.diff
fn main() {
    let x = (1, 2);

    consume(x);
}

#[inline(never)]
fn consume(_: (u32, u32)) { }