FileCheck inline_any_operand

This commit is contained in:
Ryan Mehri 2023-10-20 11:12:17 -07:00
parent f005d2325a
commit 22679cd36d

View File

@ -1,4 +1,3 @@
// skip-filecheck
// compile-flags: -Z span_free_formats
// Tests that MIR inliner works for any operand
@ -9,6 +8,8 @@ fn main() {
// EMIT_MIR inline_any_operand.bar.Inline.after.mir
fn bar() -> bool {
// CHECK-LABEL: fn bar(
// CHECK: (inlined foo)
let f = foo;
f(1, -1)
}