mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 14:31:55 +00:00
FileCheck inline_trait_method_2
This commit is contained in:
parent
25325667f2
commit
f7acf17945
@ -1,9 +1,11 @@
|
||||
// skip-filecheck
|
||||
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
|
||||
// compile-flags: -Z span_free_formats -Z mir-opt-level=4
|
||||
|
||||
// EMIT_MIR inline_trait_method_2.test2.Inline.after.mir
|
||||
fn test2(x: &dyn X) -> bool {
|
||||
// CHECK-LABEL: fn test2(
|
||||
// CHECK: (inlined test)
|
||||
// CHECK-NOT: (inlined <dyn X as X>::y)
|
||||
test(x)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user