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

10 lines
144 B
Rust
Raw Normal View History

2020-04-02 21:09:01 +00:00
#[inline(never)]
fn noop() {}
// EMIT_MIR rustc.main.SimplifyBranches-after-const-prop.diff
fn main() {
if false {
2020-04-02 21:09:01 +00:00
noop();
}
}