Files
kotlin-fork/compiler/testData/codegen/box/boxingOptimization/kt6842.kt
T
2019-11-19 11:00:09 +03:00

12 lines
216 B
Kotlin
Vendored

// IGNORE_BACKEND_FIR: JVM_IR
// KJS_WITH_FULL_RUNTIME
// WITH_RUNTIME
import kotlin.test.assertEquals
fun box(): String {
val x = (10L..50).map { it * 40L }
assertEquals(400L, x.first())
return "OK"
}