mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
13 lines
210 B
Kotlin
Vendored
13 lines
210 B
Kotlin
Vendored
// IGNORE_BACKEND_FIR: JVM_IR
|
|
fun box(): String {
|
|
val result = "OK"
|
|
|
|
class Local {
|
|
fun foo() = result
|
|
}
|
|
|
|
val member = Local::foo
|
|
val instance = Local()
|
|
return member(instance)
|
|
}
|