Sign in
◑
Theme
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
fa6706d92e6b4fd10bdb26da483b20467cd68a42
/
.
/
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