Vect: Support form 1 of vector signed integer .SAT_ADD
[official-gcc.git] / gcc / testsuite / g++.dg / lookup / extern-redecl1.C
blobf3e9b695f3b5aa68d65522455c09dc984bee0ab6
1 extern int X; // { dg-message "previous declaration" }
2 extern int Y (int);  // { dg-message "old declaration" }
3 extern int Y (float);
5 static int Z (int s) // { dg-message "old declaration" }
7   return s;
10 void Foo ()
12   extern char X; // { dg-error "conflicting declaration" }
13   extern char Y (int); // { dg-error "ambiguating new declaration" }
14   extern int Y (float);
15   extern void Y (double);
16   extern char Z (int); // { dg-error "ambiguating new declaration" }