(libstdc++-v3) PATCH: Fix trivial typo in C++ library test case
Loren James Rittle
rittle@latour.rsch.comm.mot.com
Tue Mar 11 08:00:00 GMT 2003
The test case was actually looking to see if
ctype<char>::classic_table() returned non-0 and was likely propagated
instead of testing proper propagation. As installed on mainline:
* testsuite/22_locale/ctype/cons/char/1.cc: Fix typo.
Index: libstdc++-v3/testsuite/22_locale/ctype/cons/char/1.cc
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/testsuite/22_locale/ctype/cons/char/1.cc,v
retrieving revision 1.1
diff -c -r1.1 1.cc
*** libstdc++-v3/testsuite/22_locale/ctype/cons/char/1.cc 21 Jan 2003 15:29:13 -0000 1.1
--- libstdc++-v3/testsuite/22_locale/ctype/cons/char/1.cc 11 Mar 2003 06:43:24 -0000
***************
*** 57,63 ****
comma_ctype obj2(tmp);
const ctype_base::mask* ctable = obj2.get_table();
! VERIFY ( tmp = ctable );
}
int main()
--- 57,63 ----
comma_ctype obj2(tmp);
const ctype_base::mask* ctable = obj2.get_table();
! VERIFY ( tmp == ctable );
}
int main()
More information about the Libstdc++
mailing list