blob: 6bfc99a11091c18feeb3a8ddfc8843d7ad118ae5 [file] [log] [blame]
fun interface Foo {
fun invoke(): String
}
fun foo(f: Foo) = f.invoke()
fun box(): String {
return foo { "OK" }
}