Skip to content

Commit f38489e

Browse files
committed
Enable remove_storage_markers MIR-opt test
1 parent 6351247 commit f38489e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/mir-opt/remove_storage_markers.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// skip-filecheck
21
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
32
// unit-test: RemoveStorageMarkers
43

@@ -8,6 +7,10 @@
87

98
// EMIT_MIR remove_storage_markers.main.RemoveStorageMarkers.diff
109
fn main() {
10+
// CHECK-LABLE: fn main(
11+
12+
// CHECK-NOT: StorageDead
13+
// CHECK-NOT: StorageLive
1114
let mut sum = 0;
1215
for i in 0..10 {
1316
sum += i;

0 commit comments

Comments
 (0)