Files
kotlin/compiler/testData/codegen/classes/recursiveClosure.kt

8 lines
161 B
Kotlin

fun foo(s: String): String {
fun bar(count: Int): String =
if (count == 0) s else bar(count - 1)
return bar(10)
}
fun box(): String = foo("OK")