FileCheck inline_retag
This commit is contained in:
parent
3202d4e357
commit
21a4c39cb8
@ -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)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user