Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
fae15b3fc4205675bfb51513d6068f83490926d3
/
.
/
compiler
/
testData
/
codegen
/
box
/
synchronized
/
nestedSameObject.kt
blob: 3b79c0d9a0279fee621bc3a650c35004d7f10124 [
file
] [
log
] [
blame
]
// TARGET_BACKEND: JVM
// WITH_STDLIB
fun box
():
String
{
val obj
=
""
as
java
.
lang
.
Object
synchronized
(
obj
)
{
synchronized
(
obj
)
{
obj
.
wait
(
1
)
}
}
return
"OK"
}