Files
kotlin-fork/compiler/testData/ir/irText/declarations/annotations/enumsInAnnotationArguments.fir.kt.txt
T
2021-09-23 06:59:33 +00:00

38 lines
502 B
Plaintext
Vendored

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