open class A { open class X { open fun g() {} } }