14 lines
271 B
Kotlin
Vendored
14 lines
271 B
Kotlin
Vendored
// EXPECTED_REACHABLE_NODES: 499
|
|
// This test was adapted from compiler/testData/codegen/box/callableReference/function/.
|
|
package foo
|
|
|
|
abstract class A {
|
|
abstract fun foo(): String
|
|
}
|
|
|
|
class B : A() {
|
|
override fun foo() = "OK"
|
|
}
|
|
|
|
fun box(): String = (A::foo)(B())
|