diff options
author | Alexandre Oliva <oliva@dcc.unicamp.br> | 1998-12-03 11:24:23 +0000 |
---|---|---|
committer | Alexandre Oliva <oliva@gcc.gnu.org> | 1998-12-03 11:24:23 +0000 |
commit | 174a498bcadd6c3410875a810c615511f6b9fa44 (patch) | |
tree | ad83ac94d2822b19f8bcc64dbaa30b21ae5a4041 | |
parent | 16fe4796d6d51416ed9032f6c93288ecbe6b3d19 (diff) | |
download | gcc-174a498bcadd6c3410875a810c615511f6b9fa44.zip gcc-174a498bcadd6c3410875a810c615511f6b9fa44.tar.gz gcc-174a498bcadd6c3410875a810c615511f6b9fa44.tar.bz2 |
* g++.old-deja/g++.pt/spec20.C: ERROR marks were bogus
From-SVN: r24070
-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 *-*-* }; |