1 extern int X; // { dg-message "previous declaration" }
2 extern int Y (int); // { dg-message "old declaration" }
5 static int Z (int s) // { dg-message "old declaration" }
12 extern char X; // { dg-error "conflicting declaration" }
13 extern char Y (int); // { dg-error "ambiguating new declaration" }
15 extern void Y (double);
16 extern char Z (int); // { dg-error "ambiguating new declaration" }