Files
kotlin-fork/compiler/testData/ir/irText/singletons/enumEntry.fir.kt.txt
T
Nikolay Lunyak bcfafc601e Add EnumEntries to minimal-stdlib-for-tests
This change allows to revert adding `WITH_STDLIB` directive
to tests which happened at `a9343aeb`.

Co-authored-by: Alexander Udalov <Alexander.Udalov@jetbrains.com>
2023-03-02 10:23:38 +00:00

42 lines
701 B
Kotlin
Vendored

open enum class Z : Enum<Z> {
private constructor() /* primary */ {
super/*Enum*/<Z>()
/* <init>() */
}
ENTRY = ENTRY()
private enum entry class ENTRY : Z {
private constructor() /* primary */ {
super/*Z*/()
/* <init>() */
}
fun test() {
}
local inner class A {
constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
fun test2() {
<this>.test()
}
}
}
fun values(): Array<Z> /* Synthetic body for ENUM_VALUES */
fun valueOf(value: String): Z /* Synthetic body for ENUM_VALUEOF */
val entries: EnumEntries<Z>
get(): EnumEntries<Z> /* Synthetic body for ENUM_ENTRIES */
}