blob: 8ce9ee1c9ba11ebdfda92098b1e82273707b44ea [file] [log] [blame]
var result = ""
object A {
val prop = test()
fun test(): String {
result += "OK"
return result
}
}
fun box(): String {
if (A.prop != "OK") return "fail ${A.prop}"
return result
}