Files
kotlin-fork/compiler/testData/codegen/bytecodeListing/synchronizedFlag.kt
T

23 lines
372 B
Kotlin
Vendored

// WITH_RUNTIME
@Synchronized
@JvmOverloads
fun testJvmOverloads(a: Int = 0) {}
class C {
@Synchronized
private fun testAccessor() {}
fun lambda() = { -> testAccessor() }
companion object {
@Synchronized
@JvmStatic
fun testJvmStatic() {}
}
}
inline class IC(val x: Int) {
@Synchronized
fun testInlineClassFun() {}
}