// ERROR: 'public open fun foo(): Unit' conflicts with another declaration in class 'C' // ERROR: 'public open fun foo(): Unit' conflicts with another declaration in class 'C' interface I { open fun foo(){} } open class A { open fun foo(){} } class C : A(), I { override fun equals(other: Any?): Boolean { return super.equals(other) } override fun foo() { super.foo() } override fun foo() { super.foo() } override fun hashCode(): Int { return super.hashCode() } override fun toString(): String { return super.toString() } }