Files
kotlin-fork/compiler/testData/codegen/box/inlineClasses/interfaceMethodCalls/interfaceSuperCall.kt
T

15 lines
202 B
Kotlin
Vendored

// WITH_RUNTIME
interface A {
fun f(x: String) = x
}
@JvmInline
value class B(val y: String) : A {
override fun f(x: String) = super.f(x + y)
}
fun box(): String {
return B("K").f("O")
}