Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
2b455fc1ba7dcb99fa03fdfc31c7672d6ccfc9fd
/
.
/
compiler
/
testData
/
codegen
/
bytecodeText
/
enum
/
enumCheckcasts.kt
blob: 2a736b9a60f1a701d9b77004c45e7767a1da8a72 [
file
]
enum
class
Foo
{
A
,
B
,
C
{
override
fun result
()
=
"OK"
};
open fun result
()
=
"Fail"
}
// There are three CHECKCASTs: one in Foo.valueOf, one in Foo.values, and one in the static initializer
// (`$ENTRIES` to `[Ljava/lang/Enum;`).
// 3 CHECKCAST