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,committed] Fix testcase for PR27427 on the 4.0 branch


In my patch from yesterday for PR27427 I hosed the first error marker
in the testcase for the 4.0 branch.

Fixed by the patch below.
Committed to 4.0 branch as obvious.

Sorry for the inconvenience!

Regards,
Volker


2006-05-07  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>

	* g++.dg/template/incomplete2.C: Fix error marker.

===================================================================
--- gcc/gcc/testsuite/g++.dg/template/incomplete2.C	(revision 113605)
+++ gcc/gcc/testsuite/g++.dg/template/incomplete2.C	(working copy)
@@ -5,7 +5,7 @@
 
 template<A&> void foo();
 
-A a;  // { dg-error "incomplete type" }
+A a;  // { dg-error "incomplete type|storage size" }
 
 void bar()
 {
===================================================================



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