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