* g++.old-deja/g++.pt/spec20.C: ERROR marks were bogus

From-SVN: r24070
This commit is contained in:
Alexandre Oliva 1998-12-03 11:24:23 +00:00 committed by Alexandre Oliva
parent 16fe4796d6
commit 174a498bca
2 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,7 @@
1998-12-03 Alexandre Oliva <oliva@dcc.unicamp.br>
* g++.old-deja/g++.pt/spec20.C: ERROR marks were bogus
* lib/old-dejagnu.exp (old-dejagnu): ignore collect recompiling
and relinking messages
* lib/g++.exp (g++_target_compile): remove .rpo file when

View File

@ -1,11 +1,13 @@
// Build don't link:
// According to [temp.class.spec.mfunc]/2, these are valid
template <class T>
struct S {
template <class U> void f(U);
template <> void f<int>(int); // ERROR - specialization
template <> void f<int>(int); // gets bogus error - XFAIL *-*-*
template <class V> struct I {};
template <class V> struct I<V*> {};
template <> struct I<int>; // ERROR - specialization
template <> struct I<int>; // gets bogus error - XFAIL *-*-*
};