* cfgloopmanip.c (duplicate_loop_to_header_edge): Cleanup profile
[official-gcc.git] / gcc / testsuite / gcc.dg / Wincompatible-pointer-types-1.c
blob9ffdc2effbe99ecf70e1267dacb6816ceb72c859
1 /* { dg-do compile } */
2 /* { dg-options "-pedantic-errors" } */
4 void f (int, ...);
6 int
7 f1 (void)
9 int (*x) ();
10 x = f; /* { dg-error "assignment to 'int \\(\\*\\)\\(\\)' from incompatible pointer type 'void \\(\\*\\)\\(int, \.\.\.\\)'" } */
11 return x (1);