mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 18:23:49 +00:00
Enable remove_storage_markers
MIR-opt test
This commit is contained in:
parent
6351247048
commit
f38489e957
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user