blob: f63a2220542efdb340301cc586ac60282d4e8a81 [file]
interface Flusher {
fun flush() = "OK"
}
fun myFlusher() = object : Flusher { }
fun flushIt(flusher: Flusher) = flusher.flush()
fun box() = flushIt(myFlusher())