Skip to content

Commit 87522d0

Browse files
committed
FileCheck return_place.
1 parent a12027e commit 87522d0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/mir-opt/const_prop/return_place.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
// skip-filecheck
21
// unit-test: ConstProp
32
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
43
// compile-flags: -C overflow-checks=on
54

65
// EMIT_MIR return_place.add.ConstProp.diff
76
// EMIT_MIR return_place.add.PreCodegen.before.mir
87
fn add() -> u32 {
8+
// CHECK-LABEL: fn add(
9+
// CHECK: _0 = const 4_u32;
910
2 + 2
1011
}
1112

0 commit comments

Comments
 (0)