blob: 17075c514c52842d986a73171f808f0683da3762 [file] [log] [blame]
// Bug: g++ silently ignores function-try-blocks in templates.
// Submitted by Jason Merrill <jason@cygnus.com>
template <class T> void f (T) try { throw 1; } catch (...) { }
int main ()
{
f (1);
}