rust/tests/mir-opt/const_prop/scalar_literal_propagation.rs

9 lines
145 B
Rust
Raw Normal View History

2020-07-27 14:22:43 -05:00
// EMIT_MIR scalar_literal_propagation.main.ConstProp.diff
fn main() {
let x = 1;
consume(x);
}
#[inline(never)]
fn consume(_: u32) { }