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

53 lines
679 B
Kotlin
Vendored

open annotation class Test1 : Annotation {
val x: Int
field = x
get
constructor(x: Int) /* primary */ {
super/*Any*/()
/* <init>() */
}
}
open annotation class Test2 : Annotation {
val x: Int
field = x
get
constructor(x: Int = 0) /* primary */ {
super/*Any*/()
/* <init>() */
}
}
open annotation class Test3 : Annotation {
val x: Test1
field = x
get
constructor(x: Test1) /* primary */ {
super/*Any*/()
/* <init>() */
}
}
open annotation class Test4 : Annotation {
val xs: IntArray
field = xs
get
constructor(vararg xs: Int) /* primary */ {
super/*Any*/()
/* <init>() */
}
}