Files
kotlin-fork/compiler/testData/diagnostics/tests/secondaryConstructors/superSecondaryNonExisting.kt
T
2015-03-11 17:45:28 +03:00

11 lines
275 B
Kotlin

// !DIAGNOSTICS: -UNUSED_PARAMETER
open class B(x: Double) {
constructor(x: Int): this(1.0) {}
constructor(x: String): this(1.0) {}
}
trait C
class A : B, C {
constructor(): <!NONE_APPLICABLE!>super<!>(' ') { }
<!NONE_APPLICABLE!>constructor<!>(x: Int) { }
}