1// { dg-do run } 2// Bug: a ends up in the text segment, so trying to initialize it causes 3// a seg fault. 4 5struct A { 6 int i; 7 A(): i(0) {} 8 A(int j): i(j) {} 9}; 10 11const A a; 12const A b(1); 13 14int main () 15{ 16 return 0; 17} 18