d6bc309c94
^KT-43222 fixed
18 lines
268 B
Kotlin
Vendored
18 lines
268 B
Kotlin
Vendored
// TARGET_BACKEND: JS_IR
|
|
|
|
// FILE: A.kt
|
|
|
|
val a = "A"
|
|
|
|
// FILE: B.kt
|
|
val b = "B".apply {}
|
|
|
|
val c = "C"
|
|
|
|
// FILE: main.kt
|
|
|
|
fun box(): String {
|
|
return if (js("a") == "A" && js("typeof b") == "undefined" && js("typeof c") == "undefined")
|
|
"OK"
|
|
else "fail"
|
|
} |