* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50863
138bc75d-0d04-0410-961f-
82ee72b054a4
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.
2002-03-15 Jakub Jelinek <jakub@redhat.com>
// { 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
myconst b;
};
-B1<AS> b1; // { dg-error "instantiated" "" }
+B1<AS> b1;
B2<AS> b2;
-// Copyright (C) 2001 Free Software Foundation
+// Copyright (C) 2001, 2002 Free Software Foundation
// Contributed by Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
// { dg-do compile }
int main()
{
- C<A> c; // { dg-error "instantiated" }
+ C<A> c;
}
-// Copyright (C) 2001 Free Software Foundation
+// Copyright (C) 2001, 2002 Free Software Foundation
// Contributed by Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
// { dg-do compile }
int main()
{
- C<A> c; // { dg-error "instantiated" }
+ C<A> c;
}
-// Copyright (C) 2001 Free Software Foundation
+// Copyright (C) 2001, 2002 Free Software Foundation
// Contributed by Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
// { dg-do compile }
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();
}
-// Copyright (C) 2001 Free Software Foundation
+// Copyright (C) 2001, 2002 Free Software Foundation
// Contributed by Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
// { dg-do compile }
struct E {
};
-D<E> d; // { dg-error "instantiated" }
+D<E> d;
-// Copyright (C) 2001 Free Software Foundation
+// Copyright (C) 2001, 2002 Free Software Foundation
// Contributed by Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
// { dg-do compile }
C<T::template B> c; // { dg-error "no class template" }
};
-D<int> d; // { dg-error "instantiated" }
+D<int> d;
-// Copyright (C) 2001 Free Software Foundation
+// Copyright (C) 2001, 2002 Free Software Foundation
// Contributed by Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
// { dg-do compile }
template <class T> class B {}; // { dg-error "private" }
};
-D<E> d; // { dg-error "instantiated" }
+D<E> d;
int main ()
{
F<1> f;
- return f(); // { dg-error "instantiate" "excessive recursion" }
+ return f();
}