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.
13 lines
270 B
Kotlin
Vendored
13 lines
270 B
Kotlin
Vendored
// !LANGUAGE: -UseGetterNameForPropertyAnnotationsMethodOnJvm
|
|
|
|
class Foo {
|
|
annotation class Anno
|
|
|
|
@Anno
|
|
val prop = 42
|
|
}
|
|
|
|
// TESTED_OBJECT_KIND: function
|
|
// TESTED_OBJECTS: Foo, prop$annotations
|
|
// FLAGS: ACC_DEPRECATED, ACC_STATIC, ACC_SYNTHETIC, ACC_PUBLIC
|