Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
6330def4271b547b5c7db5f9759e387de2908e94
/
.
/
compiler
/
testData
/
codegen
/
box
/
synchronized
/
objectValue.kt
blob: 95e00531f36c3b3e1da5aa6090638d9bceb9622a [
file
] [
log
] [
blame
]
// TARGET_BACKEND: JVM
// WITH_STDLIB
fun box
():
String
{
var
obj
=
"0"
as
java
.
lang
.
Object
val result
=
synchronized
(
obj
)
{
"239"
}
if
(
result
!=
"239"
)
return
"Fail: $result"
return
"OK"
}