* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git] / gcc / testsuite / g++.dg / lookup / extern-redecl1.C
blob18e675b4f3da15ee2b0a19ae80224f67680bf3fb
1 extern int X; // { dg-message "previous declaration" }
2 extern int Y (int);  // { dg-message "previous declaration" }
3 extern int Y (float);
5 static int Z (int s)
7   return s;
10 void Foo ()
12   extern char X; // { dg-error "local external declaration" }
13   extern char Y (int); // { dg-error "local external declaration" }
14   extern int Y (float);
15   extern void Y (double);
16   extern char Z (int);