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 7typedef char baz; 8extern const char foo[]; 9const baz foo[] = "xyz"; 10const char bar[] = "abc"; 11