tests for g++/15307 and -Wredundant-decls

From-SVN: r19365
This commit is contained in:
Benjamin Kosnik 1998-04-21 19:45:53 +00:00
parent 0dacbd0e17
commit a147412ac1
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
// 980420 bkoz
// from g++/15307, tests for -Wredundant-decls for decls
// Build don't link: Special g++ Options:
// -Wredundant-decls
//shouldn't crash
extern unsigned char *foo5[];
extern unsigned char *foo5[];