open class X class A: X() { class B }