JVM_IR KT-43401 KT-43518 fix ACC_STRICT and ACC_SYNCHRONIZED flags

This commit is contained in:
Dmitry Petrov
2020-12-16 14:10:36 +03:00
parent 7ed3860c70
commit 8999fd88b1
7 changed files with 190 additions and 2 deletions
@@ -0,0 +1,23 @@
// 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() {}
}