[box-tests] Added a test

This commit is contained in:
Igor Chevdar
2021-09-28 15:09:43 +05:00
committed by Space
parent 75d2757d3c
commit 232608e300
9 changed files with 56 additions and 0 deletions
@@ -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
}