[JS IR] Add tests for JS code KLIB diagnostics
^KT-62425
This commit is contained in:
committed by
Space Team
parent
261527939b
commit
4ebfed04d3
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
// FIR_IDENTICAL
|
||||
// ERROR_POLICY: SEMANTIC
|
||||
|
||||
const val VALUE = 123
|
||||
|
||||
fun testJavaScriptError() {
|
||||
js(<!JSCODE_ERROR!>"var = $VALUE;"<!>)
|
||||
}
|
||||
Reference in New Issue
Block a user