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]

[4.2 committed] Fix g++.dg/ext/visibility/namespace2.C test


The enclosed change fixes the failure of this test on hppa2.0w-hp-hpux11.11.
This system doesn't support visibility and the check for this was failing.

Committed as obvious.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)

2007-12-25  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

	* g++.dg/ext/visibility/namespace2.C: Add missing argument to
	dg-require-visibility statement.

Index: g++.dg/ext/visibility/namespace2.C
===================================================================
--- g++.dg/ext/visibility/namespace2.C	(revision 131166)
+++ g++.dg/ext/visibility/namespace2.C	(working copy)
@@ -1,6 +1,6 @@
 // PR c++/32470
 
-// { dg-require-visibility }
+// { dg-require-visibility "" }
 // { dg-options "-fvisibility=hidden" }
 // { dg-final { scan-hidden "_ZN4Test4testEv" } }
 


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