Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
161333d3e7d13dd98386fe346a71a07eadfe4756
/
.
/
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