class A { constructor : this() {} val x: Int } class C { constructor : this() } class B { constructor : this() {} } fun foo(): Int