'superConstructorCall' test folder moved under 'innerNested'
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
|
||||
class A {
|
||||
open inner class Inner(val result: String)
|
||||
|
||||
fun box(): String {
|
||||
val o = object : Inner("OK") {
|
||||
fun ok() = result
|
||||
}
|
||||
return o.ok()
|
||||
}
|
||||
}
|
||||
|
||||
fun box() = A().box()
|
||||
Reference in New Issue
Block a user