rust/tests/mir-opt/simplify_if.rs

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

12 lines
210 B
Rust
Raw Normal View History

// skip-filecheck
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
2020-04-02 21:09:01 +00:00
#[inline(never)]
fn noop() {}
2021-12-01 02:54:37 +00:00
// EMIT_MIR simplify_if.main.SimplifyConstCondition-after-const-prop.diff
fn main() {
if false {
2020-04-02 21:09:01 +00:00
noop();
}
}