This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] Fix 20723 testcase
- From: Nathan Sidwell <nathan at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 04 Apr 2005 09:22:21 +0100
- Subject: [PATCH] Fix 20723 testcase
- Organization: CodeSourcery
I thought I had my usual symlinks set up on this new machine, but
apparently not.
Fixed thusly.
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk
2005-04-04 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/template/spec23.C: Fix dg-error text.
Index: testsuite/g++.dg/template/spec23.C
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/g++.dg/template/spec23.C,v
retrieving revision 1.1
retrieving revision 1.2
diff -c -3 -p -r1.1 -r1.2
*** testsuite/g++.dg/template/spec23.C 3 Apr 2005 12:33:02 -0000 1.1
--- testsuite/g++.dg/template/spec23.C 4 Apr 2005 08:18:55 -0000 1.2
*************** struct Bar
*** 19,25 ****
Foo Quux (Bar const &b)
{
! return b; // { dg-error "ambiguous overload" "" }
}
--- 19,25 ----
Foo Quux (Bar const &b)
{
! return b; // { dg-error "ambiguous" "" }
}