]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gcc.dg/pr30949.c
replace ISL with isl
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / pr30949.c
CommitLineData
1e053dfe
MLI
1/* PR30949 */
2/* { dg-do compile } */
3/* { dg-options "-pedantic-errors" } */
4
5int func (int x);
6void recv (int (* funcptr) (double x)); /* { dg-message "note: expected 'int .\\\*..double.' but argument is of type 'int .\\\*..int.'" } */
7void call (void)
8{
9 recv (func); /* { dg-error "passing argument 1 of 'recv' from incompatible pointer type" } */
10}
11