Commit 92da2d44 by Mark Mitchell Committed by Mark Mitchell

28277.cc: Likewise.

	* testsuite/21_strings/basic_string/inserters_extractors/wchar_t/28277.cc:
	Likewise.
	* testsuite/27_io/basic_ostream/inserters_character/wchar_t/28277-3.cc:
	Likewise.
	* testsuite/27_io/basic_ostream/inserters_character/wchar_t/28277-4.cc:
	Likewise.
	* testsuite/ext/vstring/inserters_extractors/wchar_t/28277.cc:
	Likewise.

From-SVN: r145027
parent 51d3ad7e
2009-03-22 Mark Mitchell <mark@codesourcery.com>
* testsuite/21_strings/basic_string/inserters_extractors/wchar_t/28277.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_character/wchar_t/28277-3.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_character/wchar_t/28277-4.cc:
Likewise.
* testsuite/ext/vstring/inserters_extractors/wchar_t/28277.cc:
Likewise.
2009-03-22 Mark Mitchell <mark@codesourcery.com>
* testsuite/25_algorithms/search_n/iterator.cc: Update copyright
year(s).
* testsuite/25_algorithms/heap/moveable.cc: Likewise.
......
// 2006-10-12 Paolo Carlini <pcarlini@suse.de>
// Copyright (C) 2006, 2007 Free Software Foundation
// Copyright (C) 2006, 2007, 2008, 2009 Free Software Foundation
//
// 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
......@@ -18,12 +18,18 @@
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
// USA.
// { dg-options "-DWIDTH=500000" { target simulator } }
// 21.3.7.9 inserters and extractors
#include <ostream>
#include <sstream>
#include <testsuite_hooks.h>
#ifndef WIDTH
#define WIDTH 50000000
#endif
// libstdc++/28277
void test01()
{
......@@ -33,7 +39,7 @@ void test01()
wostringstream oss_01;
const wstring str_01(50, L'a');
oss_01.width(5000000);
oss_01.width(WIDTH);
const streamsize width = oss_01.width();
oss_01 << str_01;
......
......@@ -18,12 +18,18 @@
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
// USA.
// { dg-options "-DWIDTH=500000" { target simulator } }
// 27.6.2.5.4 basic_ostream character inserters
#include <ostream>
#include <sstream>
#include <testsuite_hooks.h>
#ifndef WIDTH
#define WIDTH 50000000
#endif
// libstdc++/28277
void test01()
{
......@@ -32,7 +38,7 @@ void test01()
wostringstream oss_01;
oss_01.width(5000000);
oss_01.width(WIDTH);
const streamsize width = oss_01.width();
oss_01 << L'a';
......
// 2006-10-12 Paolo Carlini <pcarlini@suse.de>
// Copyright (C) 2006, 2007 Free Software Foundation
// Copyright (C) 2006, 2007, 2008, 2009 Free Software Foundation
//
// 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
......@@ -18,12 +18,18 @@
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
// USA.
// { dg-options "-DWIDTH=500000" { target simulator } }
// 27.6.2.5.4 basic_ostream character inserters
#include <ostream>
#include <sstream>
#include <testsuite_hooks.h>
#ifndef WIDTH
#define WIDTH 50000000
#endif
// libstdc++/28277
void test01()
{
......@@ -33,7 +39,7 @@ void test01()
wostringstream oss_01;
const wstring str_01(50, L'a');
oss_01.width(5000000);
oss_01.width(WIDTH);
const streamsize width = oss_01.width();
oss_01 << str_01.c_str();
......
// 2007-04-09 Paolo Carlini <pcarlini@suse.de>
// Copyright (C) 2007 Free Software Foundation
// Copyright (C) 2007, 2008, 2009 Free Software Foundation
//
// 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
......@@ -18,11 +18,17 @@
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
// USA.
// { dg-options "-DWIDTH=500000" { target simulator } }
#include <ostream>
#include <sstream>
#include <ext/vstring.h>
#include <testsuite_hooks.h>
#ifndef WIDTH
#define WIDTH 50000000
#endif
// libstdc++/28277
void test01()
{
......@@ -32,7 +38,7 @@ void test01()
wostringstream oss_01;
const __gnu_cxx::__wvstring str_01(50, L'a');
oss_01.width(5000000);
oss_01.width(WIDTH);
const streamsize width = oss_01.width();
oss_01 << str_01;
......
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