Skip to content

Commit 430d888

Browse files
committed
address review: add debug info in issue_107511.rs
Signed-off-by: Shunpoco <tkngsnsk313320@gmail.com>
1 parent 0d6fa54 commit 430d888

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

+3-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
// EMIT_MIR issue_107511.main.CopyProp.diff
55
fn main() {
66
// CHECK-LABEL: fn main(
7-
// CHECK-NOT: StorageLive(_16);
8-
// CHECK-NOT: StorageDead(_16);
7+
// CHECK: debug i => [[i:_.*]];
8+
// CHECK-NOT: StorageLive([[i]]);
9+
// CHECK-NOT: StorageDead([[i]]);
910
let mut sum = 0;
1011
let a = [0, 10, 20, 30];
1112

0 commit comments

Comments
 (0)