FileCheck inline_options
This commit is contained in:
parent
de8255194a
commit
3202d4e357
@ -1,4 +1,3 @@
|
||||
// skip-filecheck
|
||||
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
|
||||
// Checks that inlining threshold can be controlled with
|
||||
// inline-mir-threshold and inline-hint-threshold options.
|
||||
@ -8,7 +7,10 @@
|
||||
|
||||
// EMIT_MIR inline_options.main.Inline.after.mir
|
||||
fn main() {
|
||||
// CHECK-LABEL: fn main(
|
||||
// CHECK-NOT: (inlined not_inlined)
|
||||
not_inlined();
|
||||
// CHECK: (inlined inlined::<u32>)
|
||||
inlined::<u32>();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user