blob: 05024b312d0a3686704a36e1d252f9d1367ad9b2 [file]
// WITH_STDLIB
import kotlin.test.*
fun interface Foo {
fun invoke(): String
}
fun foo(f: Foo) = f is Function<*>
fun box(): String {
assertFalse(foo { "zzz" })
return "OK"
}