stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r589884 - /incubator/stdcxx/trunk/tests/regress/26.valarray.transcend.stdcxx-315.cpp
Date Mon, 29 Oct 2007 22:03:32 GMT
Author: sebor
Date: Mon Oct 29 15:03:21 2007
New Revision: 589884

URL: http://svn.apache.org/viewvc?rev=589884&view=rev
Log:
2007-10-29  Travis Vitek  <vitek@roguewave.com>

	Merged rev 589882 (fix for STDCXX-617) from branches/4.2.x.
	* 26.valarray.transcend.stdcxx-315.cpp (main): Work around
	bug in Intel C++ 10.0.025 (and other EDG eccp derivatives)
	that does not consider const copy-assignment operator before
	attempting to generate one.

Modified:
    incubator/stdcxx/trunk/tests/regress/26.valarray.transcend.stdcxx-315.cpp

Modified: incubator/stdcxx/trunk/tests/regress/26.valarray.transcend.stdcxx-315.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/tests/regress/26.valarray.transcend.stdcxx-315.cpp?rev=589884&r1=589883&r2=589884&view=diff
==============================================================================
--- incubator/stdcxx/trunk/tests/regress/26.valarray.transcend.stdcxx-315.cpp (original)
+++ incubator/stdcxx/trunk/tests/regress/26.valarray.transcend.stdcxx-315.cpp Mon Oct 29 15:03:21
2007
@@ -48,7 +48,7 @@
     ~S () { pass = pass && this == self; }
     operator double () const { pass = pass && this == self; return 1.0; }
 
-    void operator=(const S &s) const {
+    void operator=(const S &s) {
         pass = pass && &s == s.self && this == self;
     }
     S operator- () const { pass = pass && this == self; return *this; }



Mime
View raw message