blob: e7452fa20246acdc87c36f8f9d88a491f3d87334 [file]
// IGNORE_BACKEND_FIR: JVM_IR
// IGNORE_BACKEND: JS
interface A {
private fun foo() = "OK"
public fun bar() = foo()
}
class B : A {
private fun foo() = "fail"
}
fun box() = B().bar()