Files

14 lines
241 B
Kotlin
Vendored

// !LANGUAGE: -ProhibitVisibilityOfNestedClassifiersFromSupertypesOfCompanion
open class Base {
companion object {
annotation class Foo
}
}
class Derived : Base() {
@<!UNRESOLVED_REFERENCE!>Foo<!>
fun foo() = 42
}