// WITH_RUNTIME // DISABLE-ERRORS interface T { val foo: X } enum class E : T { A, B, C; override val foo: Int get() = TODO("Not yet implemented") }