mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
13 lines
235 B
Rust
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)) { }
|