mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-10 08:31:29 +00:00
17 lines
242 B
Kotlin
Vendored
17 lines
242 B
Kotlin
Vendored
// IGNORE_BACKEND_FIR: JVM_IR
|
|
// TARGET_BACKEND: JVM
|
|
|
|
// WITH_RUNTIME
|
|
|
|
fun box(): String {
|
|
val obj = "" as java.lang.Object
|
|
|
|
synchronized (obj) {
|
|
synchronized (obj) {
|
|
obj.wait(1)
|
|
}
|
|
}
|
|
|
|
return "OK"
|
|
}
|