mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
11 lines
166 B
Kotlin
Vendored
11 lines
166 B
Kotlin
Vendored
// IGNORE_BACKEND_FIR: JVM_IR
|
|
abstract class A {
|
|
abstract fun foo(): String
|
|
}
|
|
|
|
class B : A() {
|
|
override fun foo() = "OK"
|
|
}
|
|
|
|
fun box(): String = (A::foo)(B())
|