aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/redef2.C
blob: 3ab3667d82df9b4b6c8d107d87d35a412947c247 (plain)
1
2
3
4
5
6
7
// { dg-do compile }

char * d [10];  // { dg-message "8: 'd' has a previous declaration as" }
char e [15][10];
int (*f)();

int d;  // { dg-error "" }