Files
kotlin-fork/compiler/testData/codegen/box/callableReference/function/local/captureOuter.kt
T

13 lines
178 B
Kotlin
Vendored

class Outer {
val result = "OK"
inner class Inner {
fun foo() = result
}
}
fun box(): String {
val f = Outer.Inner::foo
return f(Outer().Inner())
}