16 lines
331 B
Kotlin
Vendored
16 lines
331 B
Kotlin
Vendored
@Target(AnnotationTarget.CLASS)
|
|
annotation class base
|
|
|
|
@Target(AnnotationTarget.ANNOTATION_CLASS)
|
|
annotation class meta
|
|
|
|
@base class Outer {
|
|
@base <!WRONG_ANNOTATION_TARGET!>@meta<!> class Nested
|
|
|
|
@base @meta annotation class Annotated
|
|
|
|
fun foo() {
|
|
@base <!WRONG_ANNOTATION_TARGET!>@meta<!> class Local
|
|
}
|
|
}
|