summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/inline/unsized_argument.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mir-opt/inline/unsized_argument.rs')
-rw-r--r--tests/mir-opt/inline/unsized_argument.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/mir-opt/inline/unsized_argument.rs b/tests/mir-opt/inline/unsized_argument.rs
index b2c51407f..e8c2bc10b 100644
--- a/tests/mir-opt/inline/unsized_argument.rs
+++ b/tests/mir-opt/inline/unsized_argument.rs
@@ -6,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);
}