mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 15:53:55 +00:00
10 lines
166 B
Kotlin
Vendored
10 lines
166 B
Kotlin
Vendored
// IGNORE_BACKEND_FIR: JVM_IR
|
|
fun box(): String {
|
|
val r = 1.toLong()..2
|
|
var s = ""
|
|
for (l in r) {
|
|
s += l
|
|
}
|
|
return if (s == "12") "OK" else "fail: $s"
|
|
}
|