mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 10:45:18 +00:00
12 lines
217 B
Rust
12 lines
217 B
Rust
// 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)) { }
|