summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/crash57.C
blob: 5032b3f6cceef8c00b26c55ff0fee4cd4b0ae369 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Build don't link: 
// GROUPS passed old-abort
class foo {
private:
  char buffer[1024];
public:
  foo();
};

int main()
{
  static foo& a = *(new foo);
}