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

11 lines
210 B
Rust

// ignore-wasm32 compiled with panic=abort by default
#[inline(never)]
fn noop() {}
// EMIT_MIR simplify_if.main.SimplifyConstCondition-after-const-prop.diff
fn main() {
if false {
noop();
}
}