Commit a47add83 by Loren J. Rittle Committed by Loren J. Rittle

5.cc: Make buf static.

	* testsuite/27_io/basic_istream/getline/wchar_t/5.cc: Make buf static.
	* testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc: Make ref and
	src static.

From-SVN: r94719
parent 231b2fcc
2005-02-07 Loren J. Rittle <ljrittle@acm.org>
* testsuite/27_io/basic_istream/getline/wchar_t/5.cc: Make buf static.
* testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc: Make ref and
src static.
2005-02-02 Brad Spencer <spencer@infointeractive.com>
* debug.html: Fix broken tags.
......
......@@ -44,7 +44,7 @@ check(wistream& stream, const wstring& str, unsigned nchunks, wchar_t delim)
{
bool test __attribute__((unused)) = true;
wchar_t buf[1000000];
static wchar_t buf[1000000];
wstring::size_type index = 0, index_new = 0;
unsigned n = 0;
......
......@@ -30,10 +30,10 @@ void test01()
const unsigned max_size = 1 << 18;
wchar_t ref[max_size];
static wchar_t ref[max_size];
wmemset(ref, L'\0', max_size);
wchar_t src[max_size * 2];
static wchar_t src[max_size * 2];
wmemset(src, L'\1', max_size * 2);
for (unsigned i = 128; i <= max_size; i *= 2)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment