Skip to content

Commit 22679cd

Browse files
committed
FileCheck inline_any_operand
1 parent f005d23 commit 22679cd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/mir-opt/inline/inline_any_operand.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// skip-filecheck
21
// compile-flags: -Z span_free_formats
32

43
// Tests that MIR inliner works for any operand
@@ -9,6 +8,8 @@ fn main() {
98

109
// EMIT_MIR inline_any_operand.bar.Inline.after.mir
1110
fn bar() -> bool {
11+
// CHECK-LABEL: fn bar(
12+
// CHECK: (inlined foo)
1213
let f = foo;
1314
f(1, -1)
1415
}

0 commit comments

Comments
 (0)