OSDN Git Service

* g++.old-deja/g++.eh/tmpl3.C: New test.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.eh / tmpl3.C
1 // Build don't link:
2
3 // Posted by Trevor Taylor <ttaylor@powerup.com.au>
4
5 template<class T> struct A {
6     void X() throw(T); // gets bogus error - previous decl - XFAIL *-*-*
7 };
8
9 template<class T>
10 inline void A<T>::X() 
11 throw(T) { } // gets bogus error - different throws - XFAIL *-*-*