'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,17 @@
fun box(): String {
abstract class L1 {
abstract fun foo(): String
}
open class L2(val s: String) : L1() {
override fun foo() = s
}
open class L3(unused: Double, value: String = "OK") : L2(value)
open class L4(i: Int, j: Long, z: Boolean, l: L3) : L3(3.14)
class L5 : L4(0, 0L, false, L3(2.71, "Fail"))
return L5().foo()
}