'superConstructorCall' test folder moved under 'innerNested'
This commit is contained in:
+23
@@ -0,0 +1,23 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
|
||||
open class Father(val param: String) {
|
||||
abstract inner class InClass {
|
||||
fun work(): String {
|
||||
return param
|
||||
}
|
||||
}
|
||||
|
||||
inner class Child(p: String) : Father(p) {
|
||||
fun test(): InClass {
|
||||
class Local : Father.InClass() {
|
||||
|
||||
}
|
||||
return Local()
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
return Father("fail").Child("OK").test().work()
|
||||
}
|
||||
Reference in New Issue
Block a user