[JS IR] Add tests for KT-48941

This commit is contained in:
Roman Artemev
2021-09-27 21:49:22 +03:00
committed by TeamCityServer
parent 7d4d035287
commit 18950feeff
5 changed files with 52 additions and 0 deletions
@@ -0,0 +1,11 @@
val p1 = "O"
val p2 = "K"
val pp = p1 + p2
fun bar(): String {
val v = pp
val b = js("\"$v\"")
return b
}
fun box(): String = bar()