Files
kotlin-fork/compiler/testData/codegen/box/funInterface/noOptimizedCallableReferences.kt
T
2021-10-08 07:24:41 +03:00

12 lines
158 B
Kotlin
Vendored

// NO_OPTIMIZED_CALLABLE_REFERENCES
fun interface P {
fun get(): String
}
class G(val p: P)
fun f(): String = "OK"
fun box(): String = G(::f).p.get()