rust/tests/mir-opt/simplify_if.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
210 B
Rust
Raw Normal View History

2023-04-05 09:44:20 +01:00
// ignore-wasm32 compiled with panic=abort by default
2020-04-02 21:09:01 +00:00
#[inline(never)]
fn noop() {}
2021-11-30 18:54:37 -08:00
// EMIT_MIR simplify_if.main.SimplifyConstCondition-after-const-prop.diff
fn main() {
if false {
2020-04-02 21:09:01 +00:00
noop();
}
}