// DONT_TARGET_EXACT_BACKEND: WASM // WASM_MUTE_REASON: IGNORED_IN_JS // IGNORE_BACKEND: JS_IR // IGNORE_BACKEND: JS_IR_ES6 var result = "Fail" interface A { fun f(x: T) { result = x.toString() } } abstract class B1 : A interface B2 { fun f(x: String) } class C : B1(), B2 fun box(): String { (C() as B2).f("OK") return result }