FileCheck return_place.

This commit is contained in:
Camille GILLOT 2023-12-02 21:07:30 +00:00
parent a12027e128
commit 87522d0007

View File

@ -1,4 +1,3 @@
// skip-filecheck
// unit-test: ConstProp // unit-test: ConstProp
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY // EMIT_MIR_FOR_EACH_PANIC_STRATEGY
// compile-flags: -C overflow-checks=on // compile-flags: -C overflow-checks=on
@ -6,6 +5,8 @@
// EMIT_MIR return_place.add.ConstProp.diff // EMIT_MIR return_place.add.ConstProp.diff
// EMIT_MIR return_place.add.PreCodegen.before.mir // EMIT_MIR return_place.add.PreCodegen.before.mir
fn add() -> u32 { fn add() -> u32 {
// CHECK-LABEL: fn add(
// CHECK: _0 = const 4_u32;
2 + 2 2 + 2
} }