mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
9 lines
119 B
Kotlin
Vendored
9 lines
119 B
Kotlin
Vendored
// IGNORE_BACKEND: JVM_IR
|
|
class A
|
|
|
|
fun A.foo() = (A::bar)(this, "OK")
|
|
|
|
fun A.bar(x: String) = x
|
|
|
|
fun box() = A().foo()
|