diff options
-rw-r--r-- | gcc/testsuite/ChangeLog | 2 | ||||
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.pt/spec20.C | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index d7063a1..621a625 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -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 diff --git a/gcc/testsuite/g++.old-deja/g++.pt/spec20.C b/gcc/testsuite/g++.old-deja/g++.pt/spec20.C index 497a32d..9cef703 100644 --- a/gcc/testsuite/g++.old-deja/g++.pt/spec20.C +++ b/gcc/testsuite/g++.old-deja/g++.pt/spec20.C @@ -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 *-*-* }; |