summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/simplify_if.rs
blob: fff23b3ce7f2a541e468f67097e4a5b6349197d6 (plain)
1
2
3
4
5
6
7
8
9
10
// 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();
    }
}