fun acceptLambda(f: () -> Unit) = f() fun foo() { acceptLambda(fun(): Unit {}) }