FileCheck inline_box_fn
This commit is contained in:
parent
22679cd36d
commit
de56d2d9b2
@ -1,9 +1,10 @@
|
||||
// skip-filecheck
|
||||
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
|
||||
// unit-test: Inline
|
||||
// compile-flags: --crate-type=lib
|
||||
|
||||
// EMIT_MIR inline_box_fn.call.Inline.diff
|
||||
fn call(x: Box<dyn Fn(i32)>) {
|
||||
// CHECK-LABEL: fn call(
|
||||
// CHECK-NOT: (inlined <Box<dyn Fn(i32)> as Fn<(i32,)>>::call)
|
||||
x(1);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user