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