qualttp20.C: Remove unnecessary error tags.
authorMark Mitchell <mark@codesourcery.com>
Sat, 16 Mar 2002 01:00:50 +0000 (01:00 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sat, 16 Mar 2002 01:00:50 +0000 (01:00 +0000)
* g++.dg/template/qualttp20.C: Remove unnecessary error tags.
* g++.dg/template/qualttp3.C: Likewise.
* g++.dg/template/qualttp4.C: Likewise
* g++.dg/template/qualttp5.C: Likewise
* g++.dg/template/qualttp6.C: Likewise
* g++.dg/template/qualttp7.C: Likewise
* g++.dg/template/qualttp8.C: Likewise
* g++.dg/template/recurse.C: Likewise.

From-SVN: r50863

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/qualttp20.C
gcc/testsuite/g++.dg/template/qualttp3.C
gcc/testsuite/g++.dg/template/qualttp4.C
gcc/testsuite/g++.dg/template/qualttp5.C
gcc/testsuite/g++.dg/template/qualttp6.C
gcc/testsuite/g++.dg/template/qualttp7.C
gcc/testsuite/g++.dg/template/qualttp8.C
gcc/testsuite/g++.dg/template/recurse.C

index 531289ff99e3b37d9c30f1d757fbfd97fe0f00d3..60d858e45882682de9ef79d039584351bba61f98 100644 (file)
@@ -1,3 +1,14 @@
+2002-03-15  Mark Mitchell  <mark@codesourcery.com>
+
+       * g++.dg/template/qualttp20.C: Remove unnecessary error tags.
+       * g++.dg/template/qualttp3.C: Likewise.
+       * g++.dg/template/qualttp4.C: Likewise
+       * g++.dg/template/qualttp5.C: Likewise
+       * g++.dg/template/qualttp6.C: Likewise
+       * g++.dg/template/qualttp7.C: Likewise
+       * g++.dg/template/qualttp8.C: Likewise
+       * g++.dg/template/recurse.C: Likewise.
+
 2002-03-15  Mark Mitchell  <mark@codesourcery.com>
 
        * g++.dg/opt/dtor1.C: New test.
index 2c6c71445c98f3e3c1fadcb55c4baeafa8941e4f..f0afbe4d7bccedd8a754076e3bb1a9e1ea6df8e7 100644 (file)
@@ -1,6 +1,6 @@
 // { dg-do compile }
 
-// Copyright (C) 2001 Free Software Foundation, Inc.
+// Copyright (C) 2001, 2002 Free Software Foundation, Inc.
 // Contributed by Nathan Sidwell 15 Dec 2001 <nathan@codesourcery.com>
 
 // PR 2645
@@ -29,5 +29,5 @@ template <typename T> struct B2 : T
   myconst b;
 };
 
-B1<AS> b1;     // { dg-error "instantiated" "" }
+B1<AS> b1;
 B2<AS> b2;
index 929fa628ca73e92bf13dd3423dc19de4ac27411a..ed65badc08b5fc6f685d2d7517502894f71e3ee6 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2001 Free Software Foundation
+// Copyright (C) 2001, 2002 Free Software Foundation
 // Contributed by Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
 // { dg-do compile }
 
@@ -19,5 +19,5 @@ template <class T> struct C
 
 int main()
 {
-       C<A> c; // { dg-error "instantiated" }
+       C<A> c;
 }
index 04335f16cc8b7667a66c78005e762e466c12a846..489460a1dd14401457be92e4d5daaaad851459e9 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2001 Free Software Foundation
+// Copyright (C) 2001, 2002 Free Software Foundation
 // Contributed by Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
 // { dg-do compile }
 
@@ -20,5 +20,5 @@ template <class T> struct C
 
 int main()
 {
-       C<A> c; // { dg-error "instantiated" }
+       C<A> c;
 }
index 7ac7a315abb823a85afd3aed4bfe72af0347253a..b53ec22ecaeb40f7efa1fe6e05db9ed336a984cd 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2001 Free Software Foundation
+// Copyright (C) 2001, 2002 Free Software Foundation
 // Contributed by Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
 // { dg-do compile }
 
@@ -15,11 +15,11 @@ template <template <class> class TT> void f()
 
 template <class T> struct C
 {
-       void g() { f<A<T>::template B>(); } // { dg-error "instantiated" }
+       void g() { f<A<T>::template B>(); }
 };
 
 int main()
 {
        C<int> c;
-       c.g(); // { dg-error "instantiated" }
+       c.g();
 }
index 046895830d838e384623a38f6b5495be04a69e33..1796f12d17e22b4e866c46d83b535d306d613ff6 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2001 Free Software Foundation
+// Copyright (C) 2001, 2002 Free Software Foundation
 // Contributed by Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
 // { dg-do compile }
 
@@ -12,4 +12,4 @@ template <class T> struct D {
 struct E {
 };
 
-D<E> d; // { dg-error "instantiated" }
+D<E> d;
index f6573ac5d9516932fa421d3cc40db4c0e07267c8..5f15e039a0f58a55317175140f54e508e51705ee 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2001 Free Software Foundation
+// Copyright (C) 2001, 2002 Free Software Foundation
 // Contributed by Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
 // { dg-do compile }
 
@@ -9,4 +9,4 @@ template <class T> struct D {
        C<T::template B> c; // { dg-error "no class template" }
 };
 
-D<int> d; // { dg-error "instantiated" }
+D<int> d;
index da67a09fc46837312dea41c9acf35ae945c7c94f..e9389df94167e258094fc2b3911438f287de9616 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2001 Free Software Foundation
+// Copyright (C) 2001, 2002 Free Software Foundation
 // Contributed by Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
 // { dg-do compile }
 
@@ -14,4 +14,4 @@ struct E {
        template <class T> class B {}; // { dg-error "private" }
 };
 
-D<E> d; // { dg-error "instantiated" }
+D<E> d;
index 61b94096783657fe2ab6ed6e890e86428a34bcec..af6dbfa1190bf9bc86abd7311200d7da54fa9d98 100644 (file)
@@ -18,5 +18,5 @@ template <> struct F<52>
 int main ()
 {
   F<1> f;
-  return f();          // { dg-error "instantiate" "excessive recursion" }
+  return f();
 }