blob: 77da3bf2133e9838fd9aa439916e1a0274139ce9 [file] [log] [blame]
enum class Enum {
ENUM_VALUE {
override fun test() = ENUM_VALUE
};
abstract fun test(): Enum
}
fun box(): String {
if (Enum.ENUM_VALUE.test() != Enum.ENUM_VALUE) return "fail"
return "OK"
}