3a5d75fd22
Related to KT-53197
25 lines
348 B
Kotlin
Vendored
25 lines
348 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
// MODULE: base
|
|
// FILE: Base.kt
|
|
package base
|
|
|
|
abstract class Base {
|
|
fun foo() = internalFoo()
|
|
|
|
internal fun internalFoo() {}
|
|
}
|
|
|
|
// MODULE: impl(base)
|
|
// FILE: Impl.kt
|
|
package impl
|
|
import base.*
|
|
|
|
class Impl : Base() {
|
|
fun internalFoo() { /*not an override*/ }
|
|
}
|
|
|
|
fun foo() {
|
|
Impl().foo()
|
|
Impl().internalFoo()
|
|
}
|