mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 15:53:55 +00:00
9 lines
191 B
Kotlin
Vendored
9 lines
191 B
Kotlin
Vendored
// IGNORE_BACKEND_FIR: JVM_IR
|
|
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")
|