Files
kotlin/compiler/testData/codegen/box/innerNested/superConstructorCall/objectExtendsInner.kt
2018-06-28 12:26:41 +02:00

14 lines
240 B
Kotlin
Vendored

// IGNORE_BACKEND: JVM_IR
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()