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

fn indirect_call(_1: i32, _2: fn(i32) -> i32) -> i32 {
    let mut _0: i32;

    bb0: {
        _0 = _2(_1) -> [return: bb1, unwind continue];
    }

    bb1: {
        return;
    }
}