rust/tests/mir-opt/const_prop/scalar_literal_propagation.rs
2023-04-06 10:08:07 +01:00

10 lines
199 B
Rust

// ignore-wasm32 compiled with panic=abort by default
// EMIT_MIR scalar_literal_propagation.main.ConstProp.diff
fn main() {
let x = 1;
consume(x);
}
#[inline(never)]
fn consume(_: u32) { }