summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/building/custom/terminators.drop_second.built.after.mir
blob: f14246f2d1206e07d01fb6437e419d61f9c8ed6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// MIR for `drop_second` after built

fn drop_second(_1: WriteOnDrop<'_>, _2: WriteOnDrop<'_>) -> () {
    let mut _0: ();                      // return place in scope 0 at $DIR/terminators.rs:+0:60: +0:60

    bb0: {
        drop(_2) -> bb1;                 // scope 0 at $DIR/terminators.rs:+3:13: +3:30
    }

    bb1: {
        return;                          // scope 0 at $DIR/terminators.rs:+7:13: +7:21
    }
}