Skip to content

Commit 3202d4e

Browse files
committed
FileCheck inline_options
1 parent de82551 commit 3202d4e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/mir-opt/inline/inline_options.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// skip-filecheck
21
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
32
// Checks that inlining threshold can be controlled with
43
// inline-mir-threshold and inline-hint-threshold options.
@@ -8,7 +7,10 @@
87

98
// EMIT_MIR inline_options.main.Inline.after.mir
109
fn main() {
10+
// CHECK-LABEL: fn main(
11+
// CHECK-NOT: (inlined not_inlined)
1112
not_inlined();
13+
// CHECK: (inlined inlined::<u32>)
1214
inlined::<u32>();
1315
}
1416

0 commit comments

Comments
 (0)