rust/tests/mir-opt/simplify_if.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
192 B
Rust
Raw Normal View History

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