blob: 34c4763415b92f515a3872a2ade0156836327130 [file] [log] [blame]
// 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.
fun main(): Unit {
js("var a =<!JSCODE_WARNING!> 08<!>;")
js("""var a =<!JSCODE_WARNING!>
08<!>;""")
val code = "var a = 08;"
js(<!JSCODE_ARGUMENT_NON_CONST_EXPRESSION, JSCODE_WARNING!>code<!>)
}