FileCheck return_place.
This commit is contained in:
parent
a12027e128
commit
87522d0007
@ -1,4 +1,3 @@
|
||||
// skip-filecheck
|
||||
// unit-test: ConstProp
|
||||
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
|
||||
// compile-flags: -C overflow-checks=on
|
||||
@ -6,6 +5,8 @@
|
||||
// EMIT_MIR return_place.add.ConstProp.diff
|
||||
// EMIT_MIR return_place.add.PreCodegen.before.mir
|
||||
fn add() -> u32 {
|
||||
// CHECK-LABEL: fn add(
|
||||
// CHECK: _0 = const 4_u32;
|
||||
2 + 2
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user