* g++.old-deja/g++.pt/spec20.C: ERROR marks were bogus
From-SVN: r24070
This commit is contained in:
parent
16fe4796d6
commit
174a498bca
|
@ -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
|
||||
|
|
|
@ -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 *-*-*
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue