blob: 8fcd888dfdbfdacd7f1fb56072c4fc9c66c64a50 [file]
// IGNORE_BACKEND_FIR: JVM_IR
// 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"
}