package test internal interface A { internal abstract fun foo(): T } internal open class B : test.A { public constructor B() internal final fun foo(): kotlin.Int } public/*package*/ open class Test : test.B { public/*package*/ constructor Test() internal final /*fake_override*/ fun foo(): kotlin.Int public/*package*/ open fun test(): kotlin.Unit }