27fb46712a
This commit unifies the expectation format between the stepping and LVT tests in the new debugging test harness. Furthermore, it introduces a compression of runs of locations without linenumbers. These default to showing as bytecode offsets from previous line number, which overspecifies the tests: the bytecodes chosen should not be constrained by a debugging step test.
19 lines
657 B
Kotlin
Vendored
19 lines
657 B
Kotlin
Vendored
//FILE: test.kt
|
|
|
|
// WITH_RUNTIME
|
|
|
|
fun box() {
|
|
val map: Map<String, String> = mapOf("1" to "23")
|
|
for ((a, b)
|
|
in map) {
|
|
a + b
|
|
}
|
|
}
|
|
// IGNORE_BACKEND: JVM_IR
|
|
// LOCAL VARIABLES
|
|
// test.kt:6 box:
|
|
// test.kt:8 box: map:java.util.Map=java.util.Collections$SingletonMap
|
|
// test.kt:7 box: map:java.util.Map=java.util.Collections$SingletonMap
|
|
// test.kt:9 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:7 box: map:java.util.Map=java.util.Collections$SingletonMap
|
|
// test.kt:11 box: map:java.util.Map=java.util.Collections$SingletonMap |