mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
15 lines
354 B
Rust
15 lines
354 B
Rust
// ignore-wasm32 compiled with panic=abort by default
|
|
// unit-test: RemoveStorageMarkers
|
|
|
|
// Checks that storage markers are removed at opt-level=0.
|
|
//
|
|
// compile-flags: -C opt-level=0 -Coverflow-checks=off
|
|
|
|
// EMIT_MIR remove_storage_markers.main.RemoveStorageMarkers.diff
|
|
fn main() {
|
|
let mut sum = 0;
|
|
for i in 0..10 {
|
|
sum += i;
|
|
}
|
|
}
|