This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH: Fix local3.C failure on mainline
- From: Mark Mitchell <mark at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 3 Jul 2003 01:11:00 -0700
- Subject: PATCH: Fix local3.C failure on mainline
- Reply-to: mark at codesourcery dot com
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);
}