2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / crash2.C
blob3d62d04eb6f4cff98101d690efadd991a1d11bb9
1 // { dg-do assemble  }
3 struct A {
4   int rep;
5   static const A a(0); // { dg-error "" } initialization
6   static const A b = 3; // { dg-error "" } initialization
7   static const A& c = 2; // { dg-error "" } initialization
8   A(int x) : rep(x) {}
9 };