FileCheck inline_retag

This commit is contained in:
Ryan Mehri 2023-10-20 20:38:15 -07:00
parent 3202d4e357
commit 21a4c39cb8

View File

@ -1,4 +1,3 @@
// skip-filecheck
// compile-flags: -Z span_free_formats -Z mir-emit-retag
// Tests that MIR inliner fixes up `Retag`'s `fn_entry` flag
@ -9,6 +8,8 @@ fn main() {
// EMIT_MIR inline_retag.bar.Inline.after.mir
fn bar() -> bool {
// CHECK-LABEL: fn bar(
// CHECK: (inlined foo)
let f = foo;
f(&1, &-1)
}