rust/tests/mir-opt/simplify_if.rs

10 lines
156 B
Rust
Raw Normal View History

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();
}
}