bcfafc601e
This change allows to revert adding `WITH_STDLIB` directive to tests which happened at `a9343aeb`. Co-authored-by: Alexander Udalov <Alexander.Udalov@jetbrains.com>
41 lines
599 B
Kotlin
Vendored
41 lines
599 B
Kotlin
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 */
|
|
|
|
val entries: EnumEntries<En>
|
|
get(): EnumEntries<En> /* Synthetic body for ENUM_ENTRIES */
|
|
|
|
}
|
|
|
|
open annotation class TestAnn : Annotation {
|
|
constructor(x: En) /* primary */ {
|
|
super/*Any*/()
|
|
/* <init>() */
|
|
|
|
}
|
|
|
|
val x: En
|
|
field = x
|
|
get
|
|
|
|
}
|
|
|
|
@TestAnn(x = En.A)
|
|
fun test1() {
|
|
}
|