diff options
| author | Ryan Mehri <ryan.mehri1@gmail.com> | 2023-10-20 20:41:43 -0700 |
|---|---|---|
| committer | Ryan Mehri <ryan.mehri1@gmail.com> | 2023-10-25 15:25:38 -0700 |
| commit | f7acf17945b6a5739fc498330c698579982fbaf8 (patch) | |
| tree | 753e08c4d1ae679923c8f4a602356a653d9d3ac0 | |
| parent | 25325667f2be173d0d8968f053e20d36ed24545b (diff) | |
| download | rust-f7acf17945b6a5739fc498330c698579982fbaf8.tar.gz rust-f7acf17945b6a5739fc498330c698579982fbaf8.zip | |
FileCheck inline_trait_method_2
| -rw-r--r-- | tests/mir-opt/inline/inline_trait_method_2.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/mir-opt/inline/inline_trait_method_2.rs b/tests/mir-opt/inline/inline_trait_method_2.rs index e87609a8c7e..b0b6a7b9b01 100644 --- a/tests/mir-opt/inline/inline_trait_method_2.rs +++ b/tests/mir-opt/inline/inline_trait_method_2.rs @@ -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) } |
