This is the mail archive of the libstdc++@sources.redhat.com mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

PATCH: Correct test



BTW, this test still fails on my platform for other reasons but while
trying to figure out the failure I spotted this issue: ~ is a unary
operator.

2000-12-19  Loren J. Rittle  <ljrittle@acm.org>

	* testsuite/22_locale/ctype.cc (test01): Correct ~ operator usage.

Index: testsuite/22_locale/ctype.cc
===================================================================
RCS file: /cvs/gcc/egcs/libstdc++-v3/testsuite/22_locale/ctype.cc,v
retrieving revision 1.2
diff -c -r1.2 ctype.cc
*** ctype.cc	2000/12/14 07:20:37	1.2
--- ctype.cc	2000/12/19 08:26:04
***************
*** 45,51 ****
    m01 & m02;
    m01 | m02;
    m01 ^ m02;
!   m01 ~ m02;
    m01 &= m02;
    m01 |= m02;
    m01 ^= m02;
--- 45,51 ----
    m01 & m02;
    m01 | m02;
    m01 ^ m02;
!   ~ m01;
    m01 &= m02;
    m01 |= m02;
    m01 ^= m02;

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]