e2a42446ed
This is needed to update master to 1.4, while still testing the latest compiler by default. Also add one test on the old behavior.
24 lines
538 B
Kotlin
Vendored
24 lines
538 B
Kotlin
Vendored
// !JVM_DEFAULT_MODE: enable
|
|
// !LANGUAGE: +UseGetterNameForPropertyAnnotationsMethodOnJvm
|
|
// JVM_TARGET: 1.8
|
|
// WITH_RUNTIME
|
|
|
|
annotation class Property(val value: String)
|
|
|
|
interface Test {
|
|
@Property("OK")
|
|
@JvmDefault
|
|
val test: String
|
|
get() = "OK"
|
|
|
|
fun stub() {}
|
|
}
|
|
|
|
// TESTED_OBJECT_KIND: function
|
|
// TESTED_OBJECTS: Test, getTest$annotations
|
|
// ABSENT: TRUE
|
|
|
|
// TESTED_OBJECT_KIND: function
|
|
// TESTED_OBJECTS: Test$DefaultImpls, getTest$annotations
|
|
// FLAGS: ACC_PUBLIC, ACC_STATIC, ACC_SYNTHETIC, ACC_DEPRECATED
|