1 // compile-flags: -Zmir-opt-level=0
3 // Tests that the `<fn() as Fn>` shim does not create a `Call` terminator with a `Self` callee
4 // (as only `FnDef` and `FnPtr` callees are allowed in MIR).
6 // EMIT_MIR core.ops-function-Fn-call.AddMovesForPackedDrops.before.mir
13 fn call<F: Fn()>(f: F) {