'superConstructorCall' test folder moved under 'innerNested'

This commit is contained in:
Michael Bogdanov
2016-07-21 13:11:20 +03:00
parent 55382ba848
commit 1d5924d236
22 changed files with 268 additions and 129 deletions
@@ -0,0 +1,13 @@
open class A(val s: String) {
open inner class B(s: String): A(s)
open inner class C(s: String, additional: Double): B(s)
open inner class D(other: Int, another: Long, s: String) : C(s, another.toDouble())
open inner class E : D(0, 42L, "OK")
inner class F : E()
}
fun box(): String = A("Fail").F().s