From 6fb2cd7be411dcfc00456bd4b0b2443bb38b02f0 Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Sat, 16 Mar 2002 01:00:50 +0000 Subject: [PATCH] qualttp20.C: Remove unnecessary error tags. * 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 | 11 +++++++++++ gcc/testsuite/g++.dg/template/qualttp20.C | 4 ++-- gcc/testsuite/g++.dg/template/qualttp3.C | 4 ++-- gcc/testsuite/g++.dg/template/qualttp4.C | 4 ++-- gcc/testsuite/g++.dg/template/qualttp5.C | 6 +++--- gcc/testsuite/g++.dg/template/qualttp6.C | 4 ++-- gcc/testsuite/g++.dg/template/qualttp7.C | 4 ++-- gcc/testsuite/g++.dg/template/qualttp8.C | 4 ++-- gcc/testsuite/g++.dg/template/recurse.C | 2 +- 9 files changed, 27 insertions(+), 16 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 531289ff99e..60d858e4588 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,14 @@ +2002-03-15 Mark Mitchell + + * 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 * g++.dg/opt/dtor1.C: New test. diff --git a/gcc/testsuite/g++.dg/template/qualttp20.C b/gcc/testsuite/g++.dg/template/qualttp20.C index 2c6c71445c9..f0afbe4d7bc 100644 --- a/gcc/testsuite/g++.dg/template/qualttp20.C +++ b/gcc/testsuite/g++.dg/template/qualttp20.C @@ -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 // PR 2645 @@ -29,5 +29,5 @@ template struct B2 : T myconst b; }; -B1 b1; // { dg-error "instantiated" "" } +B1 b1; B2 b2; diff --git a/gcc/testsuite/g++.dg/template/qualttp3.C b/gcc/testsuite/g++.dg/template/qualttp3.C index 929fa628ca7..ed65badc08b 100644 --- a/gcc/testsuite/g++.dg/template/qualttp3.C +++ b/gcc/testsuite/g++.dg/template/qualttp3.C @@ -1,4 +1,4 @@ -// Copyright (C) 2001 Free Software Foundation +// Copyright (C) 2001, 2002 Free Software Foundation // Contributed by Kriang Lerdsuwanakij // { dg-do compile } @@ -19,5 +19,5 @@ template struct C int main() { - C c; // { dg-error "instantiated" } + C c; } diff --git a/gcc/testsuite/g++.dg/template/qualttp4.C b/gcc/testsuite/g++.dg/template/qualttp4.C index 04335f16cc8..489460a1dd1 100644 --- a/gcc/testsuite/g++.dg/template/qualttp4.C +++ b/gcc/testsuite/g++.dg/template/qualttp4.C @@ -1,4 +1,4 @@ -// Copyright (C) 2001 Free Software Foundation +// Copyright (C) 2001, 2002 Free Software Foundation // Contributed by Kriang Lerdsuwanakij // { dg-do compile } @@ -20,5 +20,5 @@ template struct C int main() { - C c; // { dg-error "instantiated" } + C c; } diff --git a/gcc/testsuite/g++.dg/template/qualttp5.C b/gcc/testsuite/g++.dg/template/qualttp5.C index 7ac7a315abb..b53ec22ecae 100644 --- a/gcc/testsuite/g++.dg/template/qualttp5.C +++ b/gcc/testsuite/g++.dg/template/qualttp5.C @@ -1,4 +1,4 @@ -// Copyright (C) 2001 Free Software Foundation +// Copyright (C) 2001, 2002 Free Software Foundation // Contributed by Kriang Lerdsuwanakij // { dg-do compile } @@ -15,11 +15,11 @@ template