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