Home | History | Annotate | Download | only in jni
      1 // { dg-do run  }
      2 // Bug: g++ silently ignores function-try-blocks in templates.
      3 // Submitted by Jason Merrill <jason (at) cygnus.com>
      4 
      5 template <class T> void f (T) try { throw 1; } catch (...) { }
      6 
      7 int main ()
      8 {
      9   f (1);
     10 }
     11