diff options
| author | Ryan Mehri <ryan.mehri1@gmail.com> | 2023-10-20 22:21:03 -0700 |
|---|---|---|
| committer | Ryan Mehri <ryan.mehri1@gmail.com> | 2023-10-25 15:25:38 -0700 |
| commit | 3faf05b6e7bfc88f2415cd4c09968ffe454b295f (patch) | |
| tree | f2ae0dda822d75c4f838972991be3c236fbebe4f | |
| parent | 6e047c07a66ed5a69e38e38191c911b7cb579e9e (diff) | |
| download | rust-3faf05b6e7bfc88f2415cd4c09968ffe454b295f.tar.gz rust-3faf05b6e7bfc88f2415cd4c09968ffe454b295f.zip | |
FileCheck unsized_argument
| -rw-r--r-- | tests/mir-opt/inline/unsized_argument.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/mir-opt/inline/unsized_argument.rs b/tests/mir-opt/inline/unsized_argument.rs index 22c88b83f9b..e8c2bc10be2 100644 --- a/tests/mir-opt/inline/unsized_argument.rs +++ b/tests/mir-opt/inline/unsized_argument.rs @@ -1,4 +1,3 @@ -// skip-filecheck // needs-unwind #![feature(unsized_fn_params)] @@ -7,6 +6,8 @@ fn callee(y: [i32]) {} // EMIT_MIR unsized_argument.caller.Inline.diff fn caller(x: Box<[i32]>) { + // CHECK-LABEL: fn caller( + // CHECK-NOT: (inlined callee) callee(*x); } |
