// IGNORE_BACKEND: JS // Test for KT-36188 bug compatibility between non-IR and IR backends interface A { fun foo(a: String = "OK"): String } interface A2 : A interface B { fun foo(a: String = "Fail"): String } class Impl : A2, B { override fun foo(a: String) = a } fun box(): String = Impl().foo()