19 lines
408 B
Kotlin
Vendored
19 lines
408 B
Kotlin
Vendored
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
|
|
|
class Foo {
|
|
lateinit var bar: String
|
|
|
|
constructor() {
|
|
bar = ""
|
|
}
|
|
|
|
constructor(a: Int) : <!CYCLIC_CONSTRUCTOR_DELEGATION_CALL!>this<!>(a, 0, 0) {
|
|
}
|
|
|
|
constructor(a: Int, b: Int) : <!CYCLIC_CONSTRUCTOR_DELEGATION_CALL!>this<!>(a) {
|
|
}
|
|
|
|
constructor(a: Int, b: Int, c: Int) : <!CYCLIC_CONSTRUCTOR_DELEGATION_CALL!>this<!>(a, b) {
|
|
}
|
|
}
|