Enable remove_storage_markers MIR-opt test

This commit is contained in:
Jarl Evanson 2024-01-28 13:47:52 -06:00
parent 6351247048
commit f38489e957
No known key found for this signature in database
GPG Key ID: 869ACDBC4A3AB2CD

View File

@ -1,4 +1,3 @@
// skip-filecheck
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
// unit-test: RemoveStorageMarkers
@ -8,6 +7,10 @@
// EMIT_MIR remove_storage_markers.main.RemoveStorageMarkers.diff
fn main() {
// CHECK-LABLE: fn main(
// CHECK-NOT: StorageDead
// CHECK-NOT: StorageLive
let mut sum = 0;
for i in 0..10 {
sum += i;