rust/src/test/mir-opt/simplify_if.rs

10 lines
150 B
Rust
Raw Normal View History

2020-04-02 16:09:01 -05:00
#[inline(never)]
fn noop() {}
2020-07-27 14:22:43 -05:00
// EMIT_MIR simplify_if.main.SimplifyBranches-after-const-prop.diff
fn main() {
if false {
2020-04-02 16:09:01 -05:00
noop();
}
}