* g++.old-deja/g++.pt/spec20.C: ERROR marks were bogus
authorAlexandre Oliva <oliva@dcc.unicamp.br>
Thu, 3 Dec 1998 11:24:23 +0000 (11:24 +0000)
committerAlexandre Oliva <oliva@gcc.gnu.org>
Thu, 3 Dec 1998 11:24:23 +0000 (11:24 +0000)
From-SVN: r24070

gcc/testsuite/ChangeLog
gcc/testsuite/g++.old-deja/g++.pt/spec20.C

index d7063a1..621a625 100644 (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
index 497a32d..9cef703 100644 (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 *-*-*
 };