summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/simplify_locals.d1.SimplifyLocals-before-const-prop.diff
blob: d66caeb044134f7a9acc70f2441e952c9d47a9ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
- // MIR for `d1` before SimplifyLocals-before-const-prop
+ // MIR for `d1` after SimplifyLocals-before-const-prop
  
  fn d1() -> () {
      let mut _0: ();
-     let mut _1: E;
      scope 1 {
      }
  
      bb0: {
-         StorageLive(_1);
-         _1 = E::A;
-         StorageDead(_1);
          _0 = const ();
          return;
      }
  }