mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-10 15:53:46 +00:00
13 lines
169 B
Kotlin
Vendored
13 lines
169 B
Kotlin
Vendored
// IGNORE_BACKEND_FIR: JVM_IR
|
|
class A
|
|
|
|
fun box(): String {
|
|
var result = "Fail"
|
|
|
|
fun A.ext() { result = "OK" }
|
|
|
|
val f = A::ext
|
|
f(A())
|
|
return result
|
|
}
|