This is the mail archive of the
libstdc++@sources.redhat.com
mailing list for the libstdc++ project.
PATCH: Correct test
- To: libstdc++ at gcc dot gnu dot org
- Subject: PATCH: Correct test
- From: Loren James Rittle <rittle at latour dot rsch dot comm dot mot dot com>
- Date: Tue, 19 Dec 2000 02:36:45 -0600 (CST)
- CC: gcc-patches at gcc dot gnu dot org
- Reply-to: rittle at rsch dot comm dot mot dot com
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;