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