Files
kotlin-fork/compiler/testData/psi/secondaryConstructors/basic.kt
T
2015-03-11 17:45:22 +03:00

18 lines
288 B
Kotlin

class A {
constructor() {}
val x: Int
private annot constructor(x: Int) {}
[constructor] fun constructor() {}
annot protected constructor(x: Int, y: Int) : this(1,2) {}
[constructor] public constructor() : super() {
x = 1
}
}
constructor class B