Files
kotlin/compiler/testData/codegen/box/traits/protectedClassInInterface.kt
2015-09-10 15:42:58 +03:00

12 lines
153 B
Kotlin
Vendored

interface Foo {
protected class Bar {
fun box() = "OK"
}
}
class Baz : Foo {
fun box() = Foo.Bar().box()
}
fun box() = Baz().box()