Author: sebor
Date: Mon Oct 29 15:00:32 2007
New Revision: 589882
URL: http://svn.apache.org/viewvc?rev=589882&view=rev
Log:
2007-10-29 Travis Vitek <[EMAIL PROTECTED]>
STDCXX-617
* 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/branches/4.2.x/tests/regress/26.valarray.transcend.stdcxx-315.cpp
Modified:
incubator/stdcxx/branches/4.2.x/tests/regress/26.valarray.transcend.stdcxx-315.cpp
URL:
http://svn.apache.org/viewvc/incubator/stdcxx/branches/4.2.x/tests/regress/26.valarray.transcend.stdcxx-315.cpp?rev=589882&r1=589881&r2=589882&view=diff
==============================================================================
---
incubator/stdcxx/branches/4.2.x/tests/regress/26.valarray.transcend.stdcxx-315.cpp
(original)
+++
incubator/stdcxx/branches/4.2.x/tests/regress/26.valarray.transcend.stdcxx-315.cpp
Mon Oct 29 15:00:32 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; }