// WITH_RUNTIME // DISABLE-ERRORS interface T { fun foo(x: X): X } enum class E : T { A, B, C }