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