'superConstructorCall' test folder moved under 'innerNested'
This commit is contained in:
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
fun box(): String {
|
||||
val result = "OK"
|
||||
|
||||
open class Local(val ok: Boolean) {
|
||||
fun result() = if (ok) result else "Fail"
|
||||
}
|
||||
|
||||
class Derived : Local(true)
|
||||
|
||||
return Derived().result()
|
||||
}
|
||||
Reference in New Issue
Block a user