fun foo(f: () -> String) {} fun test() { foo( fun(): String { return "" } ) }