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