* g++.old-deja/g++.eh/tmpl3.C: New test.
From-SVN: r24113
This commit is contained in:
parent
658269bda2
commit
ad98743694
@ -1,5 +1,7 @@
|
|||||||
1998-12-06 Alexandre Oliva <oliva@dcc.unicamp.br>
|
1998-12-06 Alexandre Oliva <oliva@dcc.unicamp.br>
|
||||||
|
|
||||||
|
* g++.old-deja/g++.eh/tmpl3.C: New test.
|
||||||
|
|
||||||
* g++.old-deja/g++.eh/tmpl2.C: New test.
|
* g++.old-deja/g++.eh/tmpl2.C: New test.
|
||||||
|
|
||||||
1998-12-04 Alexandre Oliva <oliva@dcc.unicamp.br>
|
1998-12-04 Alexandre Oliva <oliva@dcc.unicamp.br>
|
||||||
|
11
gcc/testsuite/g++.old-deja/g++.eh/tmpl3.C
Normal file
11
gcc/testsuite/g++.old-deja/g++.eh/tmpl3.C
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
// Build don't link:
|
||||||
|
|
||||||
|
// Posted by Trevor Taylor <ttaylor@powerup.com.au>
|
||||||
|
|
||||||
|
template<class T> struct A {
|
||||||
|
void X() throw(T); // gets bogus error - previous decl - XFAIL *-*-*
|
||||||
|
};
|
||||||
|
|
||||||
|
template<class T>
|
||||||
|
inline void A<T>::X()
|
||||||
|
throw(T) { } // gets bogus error - different throws - XFAIL *-*-*
|
Loading…
Reference in New Issue
Block a user