Files
kotlin-fork/compiler/testData/ir/irText/regressions/newInferenceFixationOrder1.kt
T
Alexander Udalov 1071919706 Remove backend tests on old inference
Also remove any mentions of NewInference, and rename some tests.
2021-11-09 20:07:33 +01:00

14 lines
250 B
Kotlin
Vendored

// FIR_IDENTICAL
fun <X, Y> foo(): (X) -> Y = TODO()
interface Inv2<A, B>
fun <T, R> check(x: T, y: R, f: (T) -> R): Inv2<T, R> = TODO()
fun test() = check("", 1, foo())
fun box(): String {
val x: Inv2<String, Int> = test()
return "OK"
}