summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/lower_intrinsics.align_of.LowerIntrinsics.panic-abort.diff
blob: 8ebd07b9c9c1ef813f4d896a8fb1212ea19052f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
- // MIR for `align_of` before LowerIntrinsics
+ // MIR for `align_of` after LowerIntrinsics
  
  fn align_of() -> usize {
      let mut _0: usize;
  
      bb0: {
-         _0 = std::intrinsics::min_align_of::<T>() -> [return: bb1, unwind unreachable];
+         _0 = AlignOf(T);
+         goto -> bb1;
      }
  
      bb1: {
          return;
      }
  }