blob: 2f88b75e45a20a4d51237ff3694461d0ac81122e [file]
// FIR_DIFFERENCE
// The diagnostic cannot be implemented with the FIR frontend checker because it requires constant evaluation over FIR.
// The diagnostic is implemented as a klib check over IR.
// IGNORE_FIR_DIAGNOSTICS
fun main(): Unit {
js(<!JSCODE_WARNING!>"var a = 08;"<!>)
js(<!JSCODE_WARNING!>"""var a =
08;"""<!>)
val code = "var a = 08;"
js(<!JSCODE_ARGUMENT_NON_CONST_EXPRESSION, JSCODE_CAN_NOT_VERIFY_JAVASCRIPT!>code<!>)
}