blob: 24d0ea1d6ee0c6a2e67fcf2e44b3a0a86c0dcc58 [file]
// RUN_PIPELINE_TILL: CODEGEN
// TARGET_BACKEND: JVM
// WITH_STDLIB
// LANGUAGE: +DisableWarningsForValueBasedJavaClasses
// JDK version is important, because we rely on @ValueBased annotation being present on LocalDate class
// JDK_KIND: FULL_JDK_21
fun testSynchronized(p1: java.time.LocalDate) {
synchronized(p1) { }
}
fun testIdentity(p1: java.time.LocalDate, p2: Any) {
p1 === p2
}
/* GENERATED_FIR_TAGS: equalityExpression, functionDeclaration, lambdaLiteral */