FileCheck exponential_runtime
This commit is contained in:
parent
76faae9cdc
commit
f005d2325a
@ -1,4 +1,3 @@
|
||||
// skip-filecheck
|
||||
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
|
||||
// Checks that code with exponential runtime does not have exponential behavior in inlining.
|
||||
|
||||
@ -85,5 +84,13 @@ fn call() {}
|
||||
|
||||
// EMIT_MIR exponential_runtime.main.Inline.diff
|
||||
fn main() {
|
||||
// CHECK-LABEL: fn main(
|
||||
// CHECK: (inlined <() as G>::call)
|
||||
// CHECK: (inlined <() as F>::call)
|
||||
// CHECK: (inlined <() as E>::call)
|
||||
// CHECK: (inlined <() as D>::call)
|
||||
// CHECK: (inlined <() as C>::call)
|
||||
// CHECK: (inlined <() as B>::call)
|
||||
// CHECK-NOT: inlined
|
||||
<() as G>::call();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user