rust/tests/mir-opt/const_prop/tuple_literal_propagation.rs
2023-10-19 15:51:52 +00:00

13 lines
235 B
Rust

// skip-filecheck
// unit-test: ConstProp
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
// EMIT_MIR tuple_literal_propagation.main.ConstProp.diff
fn main() {
let x = (1, 2);
consume(x);
}
#[inline(never)]
fn consume(_: (u32, u32)) { }