c885932a04
The differences between K1 and K2 are pretty unimportant in these tests.
34 lines
794 B
Kotlin
Vendored
34 lines
794 B
Kotlin
Vendored
// WITH_STDLIB
|
|
|
|
|
|
// FILE: test.kt
|
|
fun box(): String {
|
|
val p = "O" to "K"
|
|
|
|
val
|
|
(
|
|
o
|
|
,
|
|
k
|
|
)
|
|
=
|
|
p
|
|
|
|
return o + k
|
|
}
|
|
|
|
// EXPECTATIONS JVM_IR
|
|
// test.kt:6 box:
|
|
// EXPECTATIONS ClassicFrontend JVM_IR
|
|
// test.kt:15 box: p:kotlin.Pair=kotlin.Pair
|
|
// EXPECTATIONS JVM_IR
|
|
// test.kt:10 box: p:kotlin.Pair=kotlin.Pair
|
|
// test.kt:12 box: p:kotlin.Pair=kotlin.Pair, o:java.lang.String="O":java.lang.String
|
|
// test.kt:17 box: p:kotlin.Pair=kotlin.Pair, o:java.lang.String="O":java.lang.String, k:java.lang.String="K":java.lang.String
|
|
|
|
// EXPECTATIONS JS_IR
|
|
// test.kt:6 box:
|
|
// test.kt:10 box: p=kotlin.Pair
|
|
// test.kt:12 box: p=kotlin.Pair, o="O":kotlin.String
|
|
// test.kt:17 box: p=kotlin.Pair, o="O":kotlin.String, k="K":kotlin.String
|