17 lines
333 B
Kotlin
Vendored
17 lines
333 B
Kotlin
Vendored
// TARGET_BACKEND: JVM
|
|
// WITH_STDLIB
|
|
|
|
fun builder(c: suspend () -> Unit): Int = 42
|
|
|
|
@JvmInline
|
|
value class IC(val s: String)
|
|
|
|
fun box(): String {
|
|
builder {
|
|
listOf(
|
|
IC("O".plus("").sumOf { a: Char -> 1.toULong() }.rangeTo(67.toULong()).first.toString(36)),
|
|
IC("")
|
|
)
|
|
}
|
|
return "OK"
|
|
} |