Enable simplify MIR-opt test

This commit is contained in:
Jarl Evanson 2024-01-28 13:50:20 -06:00
parent f38489e957
commit d1edc9d0db
No known key found for this signature in database
GPG Key ID: 869ACDBC4A3AB2CD

View File

@ -1,10 +1,13 @@
// skip-filecheck
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
#[inline(never)]
fn noop() {}
// EMIT_MIR simplify_if.main.SimplifyConstCondition-after-const-prop.diff
fn main() {
// CHECK-LABEL: fn main(
// CHECK: bb0: {
// CHECK-NEXT: return;
if false {
noop();
}