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

John David Anglin dave@hiauly1.hia.nrc.ca
Tue Dec 25 19:57:00 GMT 2007


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" } }
 



More information about the Gcc-patches mailing list