Files
kotlin-fork/compiler/testData/codegen/box/controlStructures/breakContinueInExpressions/kt14581.kt
T

11 lines
188 B
Kotlin
Vendored

fun foo(x: String): String {
var y: String
do {
y = x
} while (y != x.bar(x))
return y
}
inline fun String.bar(other: String) = this
fun box(): String = foo("OK")