Files
kotlin-fork/compiler/testData/codegen/script/kt22029.kts
T
Ilya Chernikov 60246f2261 Ignore temporarily the kt22029.kts codegen test for JVM IR:
since it fails and I cannot fix it right now.
2020-10-30 12:57:42 +01:00

11 lines
201 B
Kotlin
Vendored

// IGNORE_BACKEND: JVM_IR
data class Pair(val first: Int, val second: Int)
inline fun <T> run(fn: () -> T) = fn()
val fstSec = 42
val (fst, snd) = run { Pair(fstSec, fstSec) }
// expected: fst: 42