2023-06-08 02:18:34 -05:00
|
|
|
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
|
2020-04-02 16:09:01 -05:00
|
|
|
#[inline(never)]
|
|
|
|
fn noop() {}
|
|
|
|
|
2021-11-30 20:54:37 -06:00
|
|
|
// EMIT_MIR simplify_if.main.SimplifyConstCondition-after-const-prop.diff
|
2016-07-07 18:40:01 -05:00
|
|
|
fn main() {
|
2024-01-28 13:50:20 -06:00
|
|
|
// CHECK-LABEL: fn main(
|
|
|
|
|
|
|
|
// CHECK: bb0: {
|
|
|
|
// CHECK-NEXT: return;
|
2016-07-07 18:40:01 -05:00
|
|
|
if false {
|
2020-04-02 16:09:01 -05:00
|
|
|
noop();
|
2016-07-07 18:40:01 -05:00
|
|
|
}
|
|
|
|
}
|