class A: J { constructor(i: Int): super() { } constructor() { } } class B: J() { } fun test() { J() }