[JS IR] Add IC test for local inline function

^KT-50739
This commit is contained in:
Alexander Korepanov
2022-08-30 18:18:45 +02:00
parent bf8681296b
commit 46afb46a6d
7 changed files with 48 additions and 0 deletions
@@ -0,0 +1,8 @@
fun box(stepId: Int): String {
when (stepId) {
0 -> if (foo() != "OK-0") return "Fail"
1 -> if (foo() != "OK-1") return "Fail"
else -> return "Unknown"
}
return "OK"
}
@@ -0,0 +1,5 @@
STEP 0:
dependencies: lib1
added file: m.kt
STEP 1:
dependencies: lib1