blob: 83b841fcb7cddac45330b879673e1c025de76b8c [file]
// RUN_PIPELINE_TILL: CODEGEN
enum class E {
ENTRY;
companion object {
fun foo(): E = ENTRY
fun bar(): Array<E> = values()
fun baz(): E = valueOf("ENTRY")
val valuez = values()
}
fun oof(): E = ENTRY
fun rab(): Array<E> = values()
fun zab(): E = valueOf("ENTRY")
}
fun foo() = E.ENTRY
fun bar() = E.values()
fun baz() = E.valueOf("ENTRY")
/* GENERATED_FIR_TAGS: companionObject, enumDeclaration, enumEntry, functionDeclaration, objectDeclaration,
propertyDeclaration, stringLiteral */