Skip to content

Commit 2d04a63

Browse files
committed
Add FileCheck to issue_107511.rs
Signed-off-by: Shunpoco <[email protected]>
1 parent f53476b commit 2d04a63

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/mir-opt/copy-prop/issue_107511.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
// skip-filecheck
21
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
32
//@ test-mir-pass: CopyProp
43

54
// EMIT_MIR issue_107511.main.CopyProp.diff
65
fn main() {
6+
// CHECK-LABEL: fn main(
7+
// CHECK-NOT: StorageLive(_16);
8+
// CHECK-NOT: StorageDead(_16);
79
let mut sum = 0;
810
let a = [0, 10, 20, 30];
911

0 commit comments

Comments
 (0)