summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/inline/inline_diverging.f.Inline.panic-abort.diff
blob: 3de72d03ced76d7aa55c5de7f30b201d18a56fd5 (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 unreachable;
+         goto -> bb1;
+     }
+ 
+     bb1: {
+         goto -> bb1;
      }
  }