Home | History | Annotate | Download | only in jni
      1 #include <new>
      2 #include <exception>
      3 #include <cstdio>
      4 
      5 void foo()
      6 {
      7     try {
      8         ::printf("Hello ");
      9         throw std::exception();
     10     }
     11     catch (std::exception e) {
     12         ::printf(" World!\n");
     13     }
     14 }
     15 
     16