[K/Wasm] Introduce stepping tests for Wasm

This commit is contained in:
Artem Kobzar
2023-08-15 17:03:11 +00:00
committed by Space Team
parent 577d0db3f1
commit 05ed134fbb
120 changed files with 4035 additions and 2359 deletions
+12 -11
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
fun box() {
val a = 1
@@ -15,25 +16,25 @@ fun throwIfLess(a: Int, b: Int) {
throw IllegalStateException()
}
// EXPECTATIONS JVM JVM_IR
// test.kt:3 box
// test.kt:4 box
// test.kt:5 box
// test.kt:6 box
// test.kt:14 throwIfLess
// test.kt:15 throwIfLess
// test.kt:7 box
// test.kt:8 box
// test.kt:14 throwIfLess
// test.kt:15 throwIfLess
// test.kt:16 throwIfLess
// test.kt:8 box
// test.kt:9 box
// test.kt:15 throwIfLess
// test.kt:16 throwIfLess
// EXPECTATIONS JS_IR
// test.kt:3 box
// test.kt:4 box
// test.kt:6 box
// test.kt:14 throwIfLess
// test.kt:5 box
// test.kt:7 box
// test.kt:15 throwIfLess
// test.kt:7 box
// test.kt:7 box
// test.kt:16 throwIfLess
// test.kt:8 box
// test.kt:14 throwIfLess
// test.kt:8 box
// test.kt:9 box
// test.kt:15 throwIfLess
// test.kt:16 throwIfLess