// WITH_RUNTIME // DISABLE-ERRORS interface T { fun foo(x: X): X } enum class E : T { A, B, C; val bar = 1 fun baz() = 2 }