aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/crash11.C
blob: 51d1629630e7f8e77253c776e7e4cdc298516b69 (plain)
1
2
3
4
5
6
7
8
9
// Bug: g++ crashes on this input.
// Build don't link:

struct A {
  const char *p;
};
const char foo[] = "bar";
const A a = { foo };
extern const A* ap = &a;