summaryrefslogtreecommitdiff
path: root/plugins/kotlin/idea/tests/testData/findUsages/kotlin/findSecondaryConstructorUsages/secondaryConstructor.0.kt
blob: 2e2980a0b1312e92959d13cb86c397e572de6131 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// PSI_ELEMENT: org.jetbrains.kotlin.psi.KtSecondaryConstructor
// OPTIONS: usages
open class B {
    constructor() : this("") {

    }

    <caret>constructor(s: String) {

    }
}

open class A : B {
    constructor(a: Int) : super("") {

    }
}

class C : B("") {

}

fun test() {
    B("")
}

// FIR_COMPARISON