fun foo(f: () -> Int) { } fun test() { foo(fun(): Int { return (1 + 2) * 3 }) }