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