Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
f7ff397a310cd4d47fc4849043f8c9d47412e512
/
.
/
compiler
/
testData
/
codegen
/
box
/
traits
/
privateInterfaceMethod.kt
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
()