blob: 3da0457a432020aad3c29e0a6d6049f6c0b53cfc [file]
// TARGET_BACKEND: JVM
// SKIP_JDK6
// FULL_JDK
package test
import java.util.function.*
interface Interface1<T> : () -> T, Supplier<T> {
override fun invoke() = get()
}
class Impl : Interface1<String> {
override fun get(): String = "OK"
}
fun box(): String {
return Impl()()
}