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