rust/tests/mir-opt/simplify_if.rs

11 lines
210 B
Rust
Raw Normal View History

2023-04-05 03:44:20 -05:00
// ignore-wasm32 compiled with panic=abort by default
2020-04-02 16:09:01 -05:00
#[inline(never)]
fn noop() {}
2021-11-30 20:54:37 -06:00
// EMIT_MIR simplify_if.main.SimplifyConstCondition-after-const-prop.diff
fn main() {
if false {
2020-04-02 16:09:01 -05:00
noop();
}
}