1071919706
Also remove any mentions of NewInference, and rename some tests.
11 lines
182 B
Kotlin
Vendored
11 lines
182 B
Kotlin
Vendored
// WITH_RUNTIME
|
|
|
|
inline fun foo(x: (Int, Int) -> Int): Int =
|
|
x(120,3)
|
|
|
|
fun bar(vararg x: Int): Int =
|
|
x.sum()
|
|
|
|
fun box(): String =
|
|
if (foo(::bar) == 123) "OK" else "FAIL"
|