e9c9d5731e
This is in preparation for enabling the tests for FIR which will be easier to do when the tests are on the new infrastructure.
17 lines
549 B
Kotlin
Vendored
17 lines
549 B
Kotlin
Vendored
// WITH_RUNTIME
|
|
|
|
//FILE: test.kt
|
|
fun box() {
|
|
val map: Map<String, String> = mapOf("1" to "23")
|
|
for ((a, b) in map) {
|
|
a + b
|
|
}
|
|
}
|
|
|
|
// EXPECTATIONS
|
|
// test.kt:5 box:
|
|
// test.kt:6 box: map:java.util.Map=java.util.Collections$SingletonMap
|
|
// test.kt:7 box: map:java.util.Map=java.util.Collections$SingletonMap, a:java.lang.String="1":java.lang.String, b:java.lang.String="23":java.lang.String
|
|
// test.kt:6 box: map:java.util.Map=java.util.Collections$SingletonMap
|
|
// test.kt:9 box: map:java.util.Map=java.util.Collections$SingletonMap
|