Skip to content

Commit 1fa2601

Browse files
committed
FileCheck unsized_argument
1 parent 587926c commit 1fa2601

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/mir-opt/inline/unsized_argument.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// skip-filecheck
21
// needs-unwind
32
#![feature(unsized_fn_params)]
43

@@ -7,6 +6,8 @@ fn callee(y: [i32]) {}
76

87
// EMIT_MIR unsized_argument.caller.Inline.diff
98
fn caller(x: Box<[i32]>) {
9+
// CHECK-LABEL: fn caller(
10+
// CHECK-NOT: (inlined callee)
1011
callee(*x);
1112
}
1213

0 commit comments

Comments
 (0)