rust/tests/mir-opt/building/custom/terminators.indirect_call.built.after.mir

14 lines
413 B
Rust
Raw Normal View History

// MIR for `indirect_call` after built
fn indirect_call(_1: i32, _2: fn(i32) -> i32) -> i32 {
let mut _0: i32; // return place in scope 0 at $DIR/terminators.rs:+0:48: +0:51
bb0: {
_0 = _2(_1) -> bb1; // scope 0 at $DIR/terminators.rs:+3:13: +3:38
}
bb1: {
return; // scope 0 at $DIR/terminators.rs:+7:13: +7:21
}
}