prog.d(7): Error: identifier 'a' is not defined
prog.d(7): Error: a is used as a type
prog.d(7): Error: cannot have parameter of type void
prog.d(7): Error: identifier 'b' is not defined
prog.d(7): Error: b is used as a type
prog.d(7): Error: cannot have parameter of type void
prog.d(7): Error: cannot have parameter of type void
prog.d(7): Error: cannot have parameter of type void
prog.d(7): Error: function prog.foo (void delegate(int, int) x) is not callable using argument types (int delegate(void, void))
prog.d(7): Error: cannot implicitly convert expression (__dgliteral1) of type int delegate(void, void) to void delegate(int, int)