2022-12-16 21:41:40 -06:00
|
|
|
// MIR for `indirect_call` after built
|
|
|
|
|
|
|
|
fn indirect_call(_1: i32, _2: fn(i32) -> i32) -> i32 {
|
2023-06-06 08:47:00 -05:00
|
|
|
let mut _0: i32;
|
2022-12-16 21:41:40 -06:00
|
|
|
|
|
|
|
bb0: {
|
2023-06-23 11:53:09 -05:00
|
|
|
_0 = _2(_1) -> [return: bb1, unwind continue];
|
2022-12-16 21:41:40 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
bb1: {
|
2023-06-06 08:47:00 -05:00
|
|
|
return;
|
2022-12-16 21:41:40 -06:00
|
|
|
}
|
|
|
|
}
|