Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
b32f408767cf86efaa65eb02699fe00bd61d99a6
/
.
/
compiler
/
testData
/
codegen
/
box
/
synchronized
/
value.kt
blob: f35447e03ec7c23916655b7fe32ff1721beaf8a8 [
file
]
// 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"
}