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