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

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