diff options
Diffstat (limited to 'libstdc++-v3/testsuite/27_io/basic_stringstream/str/char')
-rw-r--r-- | libstdc++-v3/testsuite/27_io/basic_stringstream/str/char/1.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libstdc++-v3/testsuite/27_io/basic_stringstream/str/char/1.cc b/libstdc++-v3/testsuite/27_io/basic_stringstream/str/char/1.cc index 37112cc8418..aaee938e67a 100644 --- a/libstdc++-v3/testsuite/27_io/basic_stringstream/str/char/1.cc +++ b/libstdc++-v3/testsuite/27_io/basic_stringstream/str/char/1.cc @@ -1,6 +1,7 @@ // 2001-05-24 Benjamin Kosnik <bkoz@redhat.com> -// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc. +// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 +// Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -31,7 +32,7 @@ void test01() const std::string str01 = "123"; std::string str02; const int i01 = 123; - int a,b; + int a = 0, b = 0; std::ios_base::iostate state1, state2, stateeof; stateeof = std::ios_base::eofbit; |