rust/tests/mir-opt/dead-store-elimination/place_mention.main.DeadStoreElimination-initial.diff
2024-01-11 09:58:19 +00:00

20 lines
415 B
Diff

- // MIR for `main` before DeadStoreElimination-initial
+ // MIR for `main` after DeadStoreElimination-initial
fn main() -> () {
let mut _0: ();
let mut _1: (&str, &str);
scope 1 {
}
bb0: {
StorageLive(_1);
_1 = (const "Hello", const "World");
PlaceMention(_1);
StorageDead(_1);
_0 = const ();
return;
}
}