]>
git.proxmox.com Git - rustc.git/blob - tests/mir-opt/dead-store-elimination/cycle.rs
b35ce0bcb5ad1de071ec29bca04d8a649371afe5
1 // unit-test: DeadStoreElimination
8 // EMIT_MIR cycle.cycle.DeadStoreElimination.diff
9 fn cycle(mut x
: i32, mut y
: i32, mut z
: i32) {
10 // This example is interesting because the non-transitive version of `MaybeLiveLocals` would
11 // report that *all* of these stores are live.