1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
// PSI_ELEMENT: org.jetbrains.kotlin.psi.KtPrimaryConstructor // OPTIONS: usages open class A<caret>(n: Int) { constructor() : this(1) } class B : A { constructor(n: Int) : super(n) } class C() : A(1) fun test() { A() A(1) }