Skip to content

Commit 21a4c39

Browse files
committed
FileCheck inline_retag
1 parent 3202d4e commit 21a4c39

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/mir-opt/inline/inline_retag.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 -Z mir-emit-retag
32

43
// Tests that MIR inliner fixes up `Retag`'s `fn_entry` flag
@@ -9,6 +8,8 @@ fn main() {
98

109
// EMIT_MIR inline_retag.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)