[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
+20 -19
View File
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// FILE: test.kt
fun box() {
val n = 3
@@ -12,28 +13,28 @@ fun foo(n :Int ) : Int {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:3 box
// test.kt:4 box
// test.kt:8 foo
// test.kt:11 foo
// test.kt:8 foo
// test.kt:11 foo
// test.kt:8 foo
// test.kt:9 foo
// test.kt:11 foo
// test.kt:11 foo
// test.kt:4 box
// test.kt:5 box
// test.kt:9 foo
// test.kt:12 foo
// test.kt:9 foo
// test.kt:12 foo
// test.kt:9 foo
// test.kt:10 foo
// test.kt:12 foo
// test.kt:12 foo
// test.kt:5 box
// test.kt:6 box
// EXPECTATIONS JS_IR
// test.kt:3 box
// test.kt:4 box
// test.kt:8 foo
// test.kt:11 foo
// test.kt:8 foo
// test.kt:11 foo
// test.kt:8 foo
// test.kt:5 box
// test.kt:9 foo
// test.kt:11 foo
// test.kt:11 foo
// test.kt:5 box
// test.kt:12 foo
// test.kt:9 foo
// test.kt:12 foo
// test.kt:9 foo
// test.kt:10 foo
// test.kt:12 foo
// test.kt:12 foo
// test.kt:6 box