rust/tests/mir-opt/const_prop/scalar_literal_propagation.rs
2023-01-11 09:32:08 +00:00

9 lines
145 B
Rust

// EMIT_MIR scalar_literal_propagation.main.ConstProp.diff
fn main() {
let x = 1;
consume(x);
}
#[inline(never)]
fn consume(_: u32) { }