[JS IR] Add tests for JS code KLIB diagnostics

^KT-62425
This commit is contained in:
Alexander Korepanov
2023-10-11 12:19:27 +02:00
committed by Space Team
parent 261527939b
commit 4ebfed04d3
22 changed files with 1223 additions and 0 deletions
@@ -0,0 +1,13 @@
// FIR_IDENTICAL
fun testSimpleString() {
js("var a = 123;")
}
fun testSimpleStringPlus() {
js("var a" + "=" + "123;")
}
fun testSimpleStringConcat() {
js("var a${"="}123;")
}