Skip to content

Commit ac19ff3

Browse files
committed
FileCheck inline_trait_method_2
1 parent af6b86e commit ac19ff3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/mir-opt/inline/inline_trait_method_2.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
// skip-filecheck
21
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
32
// compile-flags: -Z span_free_formats -Z mir-opt-level=4
43

54
// EMIT_MIR inline_trait_method_2.test2.Inline.after.mir
65
fn test2(x: &dyn X) -> bool {
6+
// CHECK-LABEL: fn test2(
7+
// CHECK: (inlined test)
8+
// CHECK-NOT: (inlined <dyn X as X>::y)
79
test(x)
810
}
911

0 commit comments

Comments
 (0)