summary refs log tree commit diff
path: root/src/test/mir-opt/simplify_if.rs
blob: e2d3ebe69c4a4e9c31bcc26621c1cfb3c9b80359 (plain)
1
2
3
4
5
6
7
8
9
#[inline(never)]
fn noop() {}

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