Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.jason / const.C
blob7c497ee9951c91be70dcd5ca48a968d86313eff2
1 // { dg-do run  }
2 // Bug: a ends up in the text segment, so trying to initialize it causes
3 // a seg fault.
5 struct A {
6   int i;
7   A(): i(0) {}
8   A(int j): i(j) {}
9 };
11 const A a;
12 const A b(1);
14 int main ()
16   return 0;