Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
2b455fc1ba7dcb99fa03fdfc31c7672d6ccfc9fd
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
enum
/
isEnumEntry.fir.kt
blob: b624e8626dbc07b8997d56a3de55beaeb4abc559 [
file
]
// RUN_PIPELINE_TILL: FRONTEND
enum
class
MyEnum
{
FIRST
,
SECOND
}
fun foo
(
me
:
MyEnum
):
Boolean
=
me
is
<!
IS_ENUM_ENTRY
!>
MyEnum
.
FIRST
<!>
/* GENERATED_FIR_TAGS: enumDeclaration, enumEntry, functionDeclaration, isExpression */