summaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/26_numerics/slice.cc
diff options
context:
space:
mode:
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-15 04:53:52 +0000
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-15 04:53:52 +0000
commitdb807ea9ef138ba9484328eb666b4c0d5d199efd (patch)
tree204e3dee0d4d25d00d7dec32745c0e03db31439a /libstdc++-v3/testsuite/26_numerics/slice.cc
parentfc308e433078a81b845e87acf3c7002f66a138dd (diff)
downloadgcc-db807ea9ef138ba9484328eb666b4c0d5d199efd.tar.gz
2003-03-14 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/23_containers/bitset_members.cc: Add test variable. * testsuite/23_containers/map_insert.cc: Same. * testsuite/22_locale/ctype/cons/char/1.cc: Same. * testsuite/22_locale/codecvt/max_length/wchar_t/1.cc: Same. * testsuite/22_locale/codecvt/max_length/wchar_t/2.cc: Same. * testsuite/22_locale/codecvt/max_length/wchar_t/3.cc: Same. * testsuite/22_locale/codecvt/max_length/wchar_t/4.cc: Same. * testsuite/22_locale/codecvt/always_noconv/wchar_t/1.cc: Same. * testsuite/22_locale/codecvt/always_noconv/wchar_t/2.cc: Same. * testsuite/22_locale/codecvt/always_noconv/wchar_t/3.cc: Same. * testsuite/22_locale/codecvt/always_noconv/wchar_t/4.cc: Same. * testsuite/27_io/istream_exception.cc: Same. * testsuite/27_io/filebuf_virtuals.cc: Same. * testsuite/27_io/stringbuf_virtuals.cc: Same. * testsuite/27_io/ostream_inserter_arith.cc: Same. * testsuite/26_numerics/valarray_operators.cc: Same. * testsuite/26_numerics/slice.cc: Same. * testsuite/26_numerics/slice_array_assignment.cc: Same. * testsuite/24_iterators/istream_iterator.cc: Same. * mkcheck.in (TESTS_FILE): Use dejagnu-generated file if possible. 2003-03-14 Petur Runolfsson <peturr02@ru.is> PR libstdc++/9581 PR libstdc++/9870 * config/locale/generic/ctype_members.cc, * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_widen(char)): Cast argument to unsigned char before passing to btowc. (ctype<wchar_t>::do_widen(const char*, const char*, wchar_t*)): Convert characters with btowc instead of mbsrtowcs. (ctype<wchar_t>::do_narrow(const wchar_t*, const wchar_t*, char, char*): Convert characters with wctob instead of wcsrtombs. * testsuite/22_locale/ctype/narrow/wchar_t/3.cc: New test. * testsuite/22_locale/ctype/widen/wchar_t/2.cc: New test. * testsuite/22_locale/ctype/widen/wchar_t/3.cc: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64391 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/testsuite/26_numerics/slice.cc')
-rw-r--r--libstdc++-v3/testsuite/26_numerics/slice.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/libstdc++-v3/testsuite/26_numerics/slice.cc b/libstdc++-v3/testsuite/26_numerics/slice.cc
index 42b2adbaa53..a02c1f5801b 100644
--- a/libstdc++-v3/testsuite/26_numerics/slice.cc
+++ b/libstdc++-v3/testsuite/26_numerics/slice.cc
@@ -1,6 +1,6 @@
// 20020717 gdr
-// Copyright (C) 2002 Free Software Foundation, Inc.
+// Copyright (C) 2002, 2003 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
@@ -51,6 +51,7 @@ assignment(int start, int size, int stride)
int main()
{
+ bool test = true;
std::srand(20020717); using std::rand;
VERIFY(construction(rand(), rand(), rand()));