Files
kotlin-fork/compiler/testData/ir/irText/declarations/annotations/enumsInAnnotationArguments.kt.txt
T
2024-02-16 10:19:38 +00:00

42 lines
600 B
Kotlin
Vendored

open annotation class TestAnn : Annotation {
val x: En
field = x
get
constructor(x: En) /* primary */ {
super/*Any*/()
/* <init>() */
}
}
enum class En : Enum<En> {
A = En()
B = En()
C = En()
D = En()
private constructor() /* primary */ {
super/*Enum*/<En>()
/* <init>() */
}
fun valueOf(value: String): En /* Synthetic body for ENUM_VALUEOF */
fun values(): Array<En> /* Synthetic body for ENUM_VALUES */
val entries: EnumEntries<En>
get(): EnumEntries<En> /* Synthetic body for ENUM_ENTRIES */
}
@TestAnn(x = En.A)
fun test1() {
}