FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / fntry1.C
blob17075c514c52842d986a73171f808f0683da3762
1 // Bug: g++ silently ignores function-try-blocks in templates.
2 // Submitted by Jason Merrill <jason@cygnus.com>
4 template <class T> void f (T) try { throw 1; } catch (...) { }
6 int main ()
8   f (1);