[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: foo.kt
import bar
fun foo(x: Int): Int {
@@ -21,26 +22,26 @@ fun bar(x: Int) =
}
// EXPECTATIONS JVM JVM_IR
// test.kt:13 box
// foo.kt:4 foo
// foo.kt:7 foo
// test.kt:17 bar
// test.kt:18 bar
// foo.kt:4 foo
// foo.kt:5 foo
// test.kt:18 bar
// test.kt:21 bar
// foo.kt:7 foo
// test.kt:13 box
// test.kt:14 box
// foo.kt:5 foo
// foo.kt:8 foo
// test.kt:18 bar
// test.kt:19 bar
// foo.kt:5 foo
// foo.kt:6 foo
// test.kt:19 bar
// test.kt:22 bar
// foo.kt:8 foo
// test.kt:14 box
// test.kt:15 box
// EXPECTATIONS JS_IR
// test.kt:13 box
// foo.kt:4 foo
// foo.kt:7 foo
// test.kt:17 bar
// test.kt:18 bar
// foo.kt:4 foo
// test.kt:14 box
// foo.kt:5 foo
// test.kt:21 bar
// test.kt:14 box
// foo.kt:8 foo
// test.kt:18 bar
// test.kt:19 bar
// foo.kt:5 foo
// foo.kt:6 foo
// test.kt:22 bar
// test.kt:15 box