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]

Skip g++.dg/other/anon5.C on Solaris


The test fails on Solaris for the same reason as on HP-UX, i.e. awkward error 
message from the linker.

Tested on sparc-sun-solaris2.9, applied on the mainline and 4.3 branch.


2008-11-10  Eric Botcazou  <ebotcazou@adacore.com>

	* g++.dg/other/anon5.C: Skip on Solaris.


-- 
Eric Botcazou
Index: g++.dg/other/anon5.C
===================================================================
--- g++.dg/other/anon5.C	(revision 141707)
+++ g++.dg/other/anon5.C	(working copy)
@@ -1,5 +1,5 @@
 // PR c++/34094
-// { dg-do link { target { ! *-*-hpux* } } }
+// { dg-do link { target { ! { *-*-hpux* *-*-solaris2.* } } } }
 // { dg-options "-g" }
 
 namespace {

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