[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,7 @@
// FIR_IDENTICAL
const val VALUE = 888
fun testJavaScriptWarning() {
js(<!JSCODE_WARNING!>"var a = 0$VALUE;"<!>)
}