mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 08:31:26 +00:00
10 lines
114 B
Kotlin
Vendored
10 lines
114 B
Kotlin
Vendored
// IGNORE_BACKEND: JVM_IR
|
|
class A
|
|
|
|
fun A.foo() = "OK"
|
|
|
|
fun box(): String {
|
|
val x = A::foo
|
|
return x(A())
|
|
}
|