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

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