1  /* { dg-do compile } */
       2  /* { dg-options "-pedantic-errors" } */
       3  
       4  void f (int, ...);
       5  
       6  int
       7  f1 (void)
       8  {
       9    int (*x) ();
      10    x = f; /* { dg-error "assignment to 'int \\(\\*\\)\\(\\)' from incompatible pointer type 'void \\(\\*\\)\\(int, \.\.\.\\)'" } */
      11    return x (1);
      12  }