OSDN Git Service

Revert XFAIL removal.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.pt / fntry1.C
1 // Bug: g++ silently ignores function-try-blocks in templates.
2 // Submitted by Jason Merrill <jason@cygnus.com>
3
4 template <class T> void f (T) try { throw 1; } catch (...) { }
5
6 int main ()
7 {
8   f (1);
9 }