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  <[EMAIL PROTECTED]>

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


Reply via email to