This is the mail archive of the libstdc++@gcc.gnu.org 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]
Other format: [Raw text]

(libstdc++-v3) PATCH: Fix trivial typo in C++ library test case


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() 


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