incubator-stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Liviu Nicoara <nikko...@hates.ms>
Subject [PATCH] Trivial test fix
Date Sat, 01 Sep 2012 14:49:15 GMT
Would someone please apply the patch on 4.2.x branch? (I have not yet regained access to my
Apache account.)


2012-09-01  Liviu Nicoara  <nikkoara@hates.ms>

	* tests/containers/23.bitset.cpp: swapped lines to avoid compiler bug
	(see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54442)


Index: tests/containers/23.bitset.cpp
===================================================================
--- tests/containers/23.bitset.cpp      (revision 1379762)
+++ tests/containers/23.bitset.cpp      (working copy)
@@ -278,8 +278,8 @@ test_synopsis (std::bitset<0>*)
      MEMFUN (Bitset&, flip, ());
      MEMFUN (Bitset&, flip, (std::size_t));
  
-    MEMFUN (Bitset::reference, operator[], (std::size_t));
      MEMFUN (bool, operator[], (std::size_t) const);
+    MEMFUN (Bitset::reference, operator[], (std::size_t));
  
      MEMFUN (unsigned long, to_ulong, () const);

Mime
View raw message