26ec7ec296
The new testdata seems to be more correct or just different ^KTIJ-23268
28 lines
333 B
Plaintext
Vendored
28 lines
333 B
Plaintext
Vendored
@Target(allowedTargets = [kotlin.annotation.AnnotationTarget.ANNOTATION_CLASS])
|
|
annotation class base
|
|
|
|
@base
|
|
annotation class derived
|
|
|
|
@base
|
|
class correct(@base x: Int) {
|
|
@base
|
|
constructor()
|
|
|
|
@base
|
|
val x: Int
|
|
}
|
|
|
|
@base
|
|
enum class My {
|
|
@base FIRST,
|
|
@base SECOND
|
|
}
|
|
|
|
@base
|
|
fun foo(@base y: @base Int): Int
|
|
|
|
@base
|
|
val z: Int
|
|
|