summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/inline/inline_diverging.f.Inline.panic-unwind.diff
blob: b799189925347c80d2b895cd5f1c638be98a06d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
- // MIR for `f` before Inline
+ // MIR for `f` after Inline
  
  fn f() -> () {
      let mut _0: ();
      let mut _1: !;
      let _2: !;
+     scope 1 (inlined sleep) {
+     }
  
      bb0: {
          StorageLive(_2);
-         _2 = sleep() -> unwind continue;
+         goto -> bb1;
+     }
+ 
+     bb1: {
+         goto -> bb1;
      }
  }