mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 08:31:29 +00:00
9 lines
130 B
Kotlin
Vendored
9 lines
130 B
Kotlin
Vendored
// IGNORE_BACKEND: JVM_IR
|
|
class A {
|
|
fun result() = (A::foo)(this, "OK")
|
|
}
|
|
|
|
fun A.foo(x: String) = x
|
|
|
|
fun box() = A().result()
|