summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/simplify_if.rs
blob: 19b5806f720947ef4afcb7b3ac2bb881fd0f2ab7 (plain)
1
2
3
4
5
6
7
8
9
10
11
// skip-filecheck
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
#[inline(never)]
fn noop() {}

// EMIT_MIR simplify_if.main.SimplifyConstCondition-after-const-prop.diff
fn main() {
    if false {
        noop();
    }
}