Files
2024-02-16 10:19:38 +00:00

66 lines
883 B
Kotlin
Vendored

val a: Int
field = 0
get
class Z {
companion object Companion {
private constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
}
constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
}
enum class Enum : Enum<Enum> {
A = Enum()
private constructor() /* primary */ {
super/*Enum*/<Enum>()
/* <init>() */
}
fun valueOf(value: String): Enum /* Synthetic body for ENUM_VALUEOF */
fun values(): Array<Enum> /* Synthetic body for ENUM_VALUES */
val entries: EnumEntries<Enum>
get(): EnumEntries<Enum> /* Synthetic body for ENUM_ENTRIES */
}
object A {
private constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
}
fun test1(): Enum {
return Enum.A
}
fun test2(): A {
return A
}
fun test3(): Int {
return <get-a>()
}
fun test4(): Companion {
return Companion
}