Debian Codegraph @

gcc/testsuite/g++.dg/other/redecl1.C

raw
1 // PR c++/5857
2 // This testcase failed because during duplicate_decls the type was promoted
3 // to int.
4
5 // { dg-do compile }
6
7 typedef char baz;
8 extern const char foo[];
9 const baz foo[] = "xyz";
10 const char bar[] = "abc";