13 lines
156 B
Kotlin
Vendored
13 lines
156 B
Kotlin
Vendored
// IGNORE_BACKEND: JS
|
|
|
|
var result = "OK"
|
|
|
|
object A {
|
|
val x = "O${foo()}"
|
|
fun foo() = y
|
|
const val y = "K"
|
|
}
|
|
|
|
fun box(): String {
|
|
return A.x
|
|
} |