blob: 5a99805c60272c9bb866ad1024e947963b8a0334 [file]
// WITH_DEFAULT_VALUE: false
class T(val t: Int)
open class A {
constructor(): this(T(1 + 1))
constructor(t: T) {
val x = t.t / 2
}
}
class B: A {
constructor(n: Int): super(T(n + 1 + 1))
}
class C: A(T(1 + 1)) {
}
fun test() {
A(T(2 + 1))
}