]> git.pld-linux.org Git - packages/gcc.git/blame - gcc32-duplicate-decl.patch
- release 2 to rebuild with proper deps
[packages/gcc.git] / gcc32-duplicate-decl.patch
CommitLineData
5384b728 12002-01-25 Jakub Jelinek <jakub@redhat.com>
2
3 * g++.dg/other/redecl1.C: New test.
4
5--- gcc/testsuite/g++.dg/other/redecl1.C.jj Fri Jan 25 00:19:22 2002
6+++ gcc/testsuite/g++.dg/other/redecl1.C Fri Jan 25 00:23:33 2002
7@@ -0,0 +1,10 @@
8+// PR c++/5857
9+// This testcase failed because during duplicate_decls the type was promoted
10+// to int.
11+
12+// { dg-do compile }
13+
14+typedef char baz;
15+extern const char foo[];
16+const baz foo[] = "xyz";
17+const char bar[] = "abc";
This page took 0.341311 seconds and 4 git commands to generate.