Files
kotlin-fork/compiler/testData/debug/stepping/while.kt
T
2023-08-15 17:03:11 +00:00

39 lines
585 B
Kotlin
Vendored

// IGNORE_BACKEND: WASM
// FILE: test.kt
fun box() {
var x = 2
while (--x > 0) {
"OK"
}
x = 2
do {
"OK"
} while (--x > 0)
}
// EXPECTATIONS JVM JVM_IR
// test.kt:5 box
// test.kt:6 box
// test.kt:7 box
// test.kt:6 box
// test.kt:10 box
// test.kt:12 box
// test.kt:13 box
// test.kt:12 box
// test.kt:13 box
// test.kt:14 box
// EXPECTATIONS JS_IR
// test.kt:5 box
// test.kt:6 box
// test.kt:6 box
// test.kt:6 box
// test.kt:6 box
// test.kt:10 box
// test.kt:13 box
// test.kt:13 box
// test.kt:13 box
// test.kt:13 box
// test.kt:14 box