open class A { open external fun foo() } class B : A() { override fun foo() { super.foo() } }