/
authorBenjamin Kosnik <bkoz@gcc.gnu.org>
Tue, 21 Apr 1998 19:45:53 +0000 (19:45 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Tue, 21 Apr 1998 19:45:53 +0000 (19:45 +0000)
tests for g++/15307 and -Wredundant-decls

From-SVN: r19365

gcc/testsuite/g++.old-deja/g++.benjamin/warn03.C [new file with mode: 0644]

diff --git a/gcc/testsuite/g++.old-deja/g++.benjamin/warn03.C b/gcc/testsuite/g++.old-deja/g++.benjamin/warn03.C
new file mode 100644 (file)
index 0000000..2f3b56f
--- /dev/null
@@ -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[]; 
+
+