Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
2b455fc1ba7dcb99fa03fdfc31c7672d6ccfc9fd
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
enum
/
classObjectInEnum.kt
blob: d927755fcdd9d96d318ecfe210f305cfdd201ac9 [
file
]
// RUN_PIPELINE_TILL: BACKEND
// FIR_IDENTICAL
enum
class
E
{
ENTRY
;
companion
object
{
fun entry
()
=
ENTRY
}
}
fun bar
()
=
E
.
entry
()
/* GENERATED_FIR_TAGS: companionObject, enumDeclaration, enumEntry, functionDeclaration, objectDeclaration */