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

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

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