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: Fix local3.C failure on mainline


This new test passes on the 3.3 branch, but fails on the mainline
because there's an extra semicolon that the new parser complains
about.

--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com

2003-07-03  Mark Mitchell  <mark@codesourcery.com>

	* g++.dg/template/local3.C: Remove extra semicolon.

Index: local3.C
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/g++.dg/template/local3.C,v
retrieving revision 1.2
diff -c -5 -p -r1.2 local3.C
*** local3.C	2 Jul 2003 04:11:30 -0000	1.2
--- local3.C	3 Jul 2003 08:08:02 -0000
***************
*** 4,14 ****
           struct B {
  	   
                   void g (T);
           };
           B b;
!  };
   void g()
   {
           f(42);
   }
   
--- 4,14 ----
           struct B {
  	   
                   void g (T);
           };
           B b;
!  }
   void g()
   {
           f(42);
   }
   


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