// { dg-do run } // Bug: g++ silently ignores function-try-blocks in templates. // Submitted by Jason Merrill template void f (T) try { throw 1; } catch (...) { } int main () { f (1); }