2 /* { dg-do compile } */
3 /* { dg-options "-pedantic-errors" } */
6 void recv (int (* funcptr
) (double x
)); /* { dg-message "note: expected 'int .\\\*..double.' but argument is of type 'int .\\\*..int.'" } */
9 recv (func
); /* { dg-error "passing argument 1 of 'recv' from incompatible pointer type" } */