Files
kotlin-fork/compiler/testData/diagnostics/tests/override/kt4785classObject.kt
T
2015-05-12 19:43:17 +02:00

14 lines
187 B
Kotlin
Vendored

interface A {
internal fun foo()
}
interface B {
protected fun foo() {}
}
class C {
companion <!CANNOT_INFER_VISIBILITY!>object<!> : A, B {
fun bar() = null
}
}