This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] 3.3 c++ testsuite fix


I *think* this may have been introduced along with my recent
preprocessor changes.  Mainline and current branch have the error
message on line 6, but the branch testsuite expects the error message
at line 7.  This patch fixes it, such that it matches mainline.  Ok to
install?

Index: gcc/testsuite/ChangeLog
from  Alexandre Oliva  <aoliva@redhat.com>

	* g++.dg/parse/parameter-declaration-1.C: Fix line number of
	expected error message.

Index: gcc/testsuite/g++.dg/parse/parameter-declaration-1.C
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/g++.dg/parse/parameter-declaration-1.C,v
retrieving revision 1.2
diff -u -p -r1.2 parameter-declaration-1.C
--- gcc/testsuite/g++.dg/parse/parameter-declaration-1.C 10 Dec 2002 11:06:33 -0000 1.2
+++ gcc/testsuite/g++.dg/parse/parameter-declaration-1.C 2 Oct 2003 04:14:49 -0000
@@ -3,4 +3,4 @@
 // { dg-do compile }
 
 struct {
-   a(void = 0; a(0), a(0)	// { dg-error "" "" { target *-*-* } 7 }
+   a(void = 0; a(0), a(0)	// { dg-error "" "" { target *-*-* } }
-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]