summaryrefslogtreecommitdiff
path: root/tests/mir-opt/multiple_return_terminators.test.MultipleReturnTerminators.diff
blob: 48a11c950639a945fa4bc706e8985c33cf07a843 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
- // MIR for `test` before MultipleReturnTerminators
+ // MIR for `test` after MultipleReturnTerminators
  
  fn test(_1: bool) -> () {
      debug x => _1;                       // in scope 0 at $DIR/multiple_return_terminators.rs:+0:9: +0:10
      let mut _0: ();                      // return place in scope 0 at $DIR/multiple_return_terminators.rs:+0:18: +0:18
  
      bb0: {
          return;                          // scope 0 at $DIR/multiple_return_terminators.rs:+6:2: +6:2
      }
  }