We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a12027e commit 87522d0Copy full SHA for 87522d0
tests/mir-opt/const_prop/return_place.rs
@@ -1,11 +1,12 @@
1
-// skip-filecheck
2
// unit-test: ConstProp
3
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
4
// compile-flags: -C overflow-checks=on
5
6
// EMIT_MIR return_place.add.ConstProp.diff
7
// EMIT_MIR return_place.add.PreCodegen.before.mir
8
fn add() -> u32 {
+ // CHECK-LABEL: fn add(
9
+ // CHECK: _0 = const 4_u32;
10
2 + 2
11
}
12
0 commit comments