[box-tests] Added a test
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
// 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
|
||||
}
|
||||
Reference in New Issue
Block a user