mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-17 00:21:28 +00:00
17 lines
212 B
Kotlin
Vendored
17 lines
212 B
Kotlin
Vendored
// IGNORE_BACKEND_FIR: JVM_IR
|
|
//KT-3276
|
|
|
|
fun box(): String {
|
|
fun rec(n : Int) {
|
|
val x = { m : Int ->
|
|
if (n > 0) rec(n - 1)
|
|
}
|
|
|
|
x(0)
|
|
}
|
|
|
|
rec(5)
|
|
|
|
return "OK"
|
|
}
|