PATCH: Correct test

Loren James Rittle rittle@latour.rsch.comm.mot.com
Tue Dec 19 00:36:00 GMT 2000


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;


More information about the Libstdc++ mailing list