16 lines
337 B
Kotlin
Vendored
16 lines
337 B
Kotlin
Vendored
// TARGET_BACKEND: JVM
|
|
// ALLOW_AST_ACCESS
|
|
package test
|
|
|
|
import java.lang.annotation.ElementType
|
|
|
|
annotation class Anno(val t: ElementType)
|
|
|
|
@Anno(ElementType.METHOD) class Class {
|
|
@Anno(ElementType.PARAMETER) inner class Inner
|
|
|
|
@Anno(ElementType.TYPE) class Nested
|
|
|
|
@Anno(ElementType.ANNOTATION_TYPE) companion object
|
|
}
|