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