]> git.lizzy.rs Git - rust.git/blob - src/test/mir-opt/remove_storage_markers.rs
Rollup merge of #99864 - klensy:bootstrap-art-dupe, r=jyn514
[rust.git] / src / test / mir-opt / remove_storage_markers.rs
1 // Checks that storage markers are removed at opt-level=0.
2 //
3 // compile-flags: -C opt-level=0 -Coverflow-checks=off
4
5 // EMIT_MIR remove_storage_markers.main.RemoveStorageMarkers.diff
6 fn main() {
7     let mut sum = 0;
8     for i in 0..10 {
9         sum += i;
10     }
11 }