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