28 lines
396 B
Kotlin
Vendored
28 lines
396 B
Kotlin
Vendored
object O {
|
|
init {
|
|
println()
|
|
}
|
|
}
|
|
|
|
open class A(x: Int)
|
|
|
|
class B :
|
|
A(
|
|
23
|
|
)
|
|
|
|
class C : A {
|
|
constructor(x: Int) :
|
|
super(
|
|
x
|
|
) {
|
|
println()
|
|
}
|
|
|
|
constructor() :
|
|
this (
|
|
42
|
|
)
|
|
}
|
|
|
|
// LINES: 1 1 3 * 1 1 1 1 1 1 7 * 9 10 11 * 15 15 16 17 14 19 15 15 22 22 23 24 22 22 |