blob: 1c27b83df69f232d118be105b68afae8c4f26f2c [file]
// TARGET_BACKEND: JVM
// WITH_RUNTIME
fun box(): String {
var obj = "0" as java.lang.Object
val result = synchronized (obj) {
"239"
}
if (result != "239") return "Fail: $result"
return "OK"
}