13 lines
233 B
Kotlin
Vendored
13 lines
233 B
Kotlin
Vendored
// IGNORE_BACKEND_FIR: JVM_IR
|
|
|
|
fun test(b: Boolean): String {
|
|
if (b) {
|
|
fun result() = "OK"
|
|
return result()
|
|
} else {
|
|
fun result() = "Fail"
|
|
return result()
|
|
}
|
|
}
|
|
fun box(): String = test(true)
|