rust/src/test/mir-opt/fn_ptr_shim.core.ops-functi...

14 lines
517 B
YAML

// MIR for `std::ops::Fn::call` before AddMovesForPackedDrops
fn std::ops::Fn::call(_1: *const fn(), _2: Args) -> <Self as std::ops::FnOnce<Args>>::Output {
let mut _0: <Self as std::ops::FnOnce<Args>>::Output; // return place in scope 0 at $SRC_DIR/core/src/ops/function.rs:LL:COL
bb0: {
_0 = move (*_1)() -> bb1; // scope 0 at $SRC_DIR/core/src/ops/function.rs:LL:COL
}
bb1: {
return; // scope 0 at $SRC_DIR/core/src/ops/function.rs:LL:COL
}
}