f30e25aa52
KT-44278 KT-26060 KT-42621
13 lines
216 B
Kotlin
Vendored
13 lines
216 B
Kotlin
Vendored
// TARGET_BACKEND: JVM
|
|
// JVM_TARGET: 1.8
|
|
// SAM_CONVERSIONS: INDY
|
|
|
|
class C(val test: String)
|
|
|
|
fun interface MakeC {
|
|
fun make(x: String): C
|
|
}
|
|
|
|
fun make(makeC: MakeC) = makeC.make("OK")
|
|
|
|
fun box() = make(::C).test |