blob: 1883e175a6a294a83a6159524f0f860e7384b793 [file] [log] [blame]
// { dg-do assemble }
// Bug: g++ crashes on this input.
struct A {
const char *p;
};
const char foo[] = "bar";
const A a = { foo };
extern const A* ap = &a; //{ dg-warning "'ap' initialized and declared 'extern'" }