Home | History | Annotate | Download | only in jni
      1 // { dg-do run { xfail sparc64-*-elf arm-*-pe } }
      2 // { dg-options "-fexceptions -O9" }
      3 
      4 void main1() {
      5   throw 1;
      6 }
      7 
      8 int main() {
      9   try {
     10     int main1();
     11   } catch (...) {
     12     return 0;
     13   }
     14   return 1;
     15 }
     16