summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.benjamin/warn03.C
blob: 46f0fb6e15c6c3f08893ce7292937e87d741292f (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-do assemble  }
// { dg-options "-Wredundant-decls" }
// 980420 bkoz 
// from g++/15307, tests for -Wredundant-decls for decls

//shouldn't crash
extern unsigned char *foo5[]; 
extern unsigned char *foo5[];