summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/dead-store-elimination/place_mention.main.DeadStoreElimination.diff
blob: 2130518771a58f8fb8d8b3db998466ee4cb1b42c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
- // MIR for `main` before DeadStoreElimination
+ // MIR for `main` after DeadStoreElimination
  
  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;
      }
  }