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]

[v3] fix to 27_io/ostream_inserter_arith.cc


While playing with my 3.3 locale cache backport, I hit a problem with
this test.  When I went to compile it by hand, the compile failed,
seemingly due to missing test variables.

OK for 3.3 branch?

Jerry

2003-07-04  Jerry Quinn  <jlquinn@optonline.net>

	* testsuite/27_io/ostream_inserter_arith.cc (test05, test06):
        Add missing bool test.

*** ostream_inserter_arith.cc.~1.16.22.1.~	Mon Jan  6 10:46:42 2003
--- ostream_inserter_arith.cc	Fri Jul  4 15:27:56 2003
***************
*** 360,365 ****
--- 360,367 ----
  int
  test05()
  {
+   bool test = true;
+ 
    double pi = 3.14159265358979323846;
    ostringstream ostr;
    ostr.precision(20);
***************
*** 377,382 ****
--- 379,386 ----
  int
  test06()
  {
+   bool test = true;
+ 
    int prec = numeric_limits<double>::digits10 + 2;
    double oval = numeric_limits<double>::min();
  


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