Commit 05a47a47 by Paolo Carlini Committed by Paolo Carlini

13171-3.cc: Remove.

2003-11-28  Paolo Carlini  <pcarlini@suse.de>

	* testsuite/27_io/basic_filebuf/imbue/char/13171-3.cc: Remove.
	* testsuite/27_io/basic_filebuf/imbue/wchar_t/13171-3.cc: New,
	the original third testcase for libstdc++/13171 belong here.

From-SVN: r74017
parent ac912ba1
2003-11-28 Paolo Carlini <pcarlini@suse.de> 2003-11-28 Paolo Carlini <pcarlini@suse.de>
* testsuite/27_io/basic_filebuf/imbue/char/13171-3.cc: Remove.
* testsuite/27_io/basic_filebuf/imbue/wchar_t/13171-3.cc: New,
the original third testcase for libstdc++/13171 belong here.
2003-11-28 Paolo Carlini <pcarlini@suse.de>
* testsuite/27_io/basic_filebuf/imbue/char/13171-3.cc: * testsuite/27_io/basic_filebuf/imbue/char/13171-3.cc:
Remove extraneous wchar_t lines. Remove extraneous wchar_t lines.
......
...@@ -32,15 +32,22 @@ void test01() ...@@ -32,15 +32,22 @@ void test01()
ios_base::sync_with_stdio(false); ios_base::sync_with_stdio(false);
locale::global(locale("en_US")); locale::global(__gnu_test::try_named_locale("en_US"));
cin.imbue(locale("en_US")); cin.imbue(__gnu_test::try_named_locale("en_US"));
cout.imbue(locale("en_US")); cout.imbue(__gnu_test::try_named_locale("en_US"));
cerr.imbue(locale("en_US")); cerr.imbue(__gnu_test::try_named_locale("en_US"));
clog.imbue(locale("de_DE")); clog.imbue(__gnu_test::try_named_locale("de_DE"));
wcin.imbue(__gnu_test::try_named_locale("en_US"));
wcout.imbue(__gnu_test::try_named_locale("en_US"));
wcerr.imbue(__gnu_test::try_named_locale("en_US"));
wclog.imbue(__gnu_test::try_named_locale("de_DE"));
cout << 'f' << endl; cout << 'f' << endl;
cerr << 'r' << endl; cerr << 'r' << endl;
clog << 'A' << endl; clog << 'A' << endl;
wcout << L's' << endl;
wcerr << L'i' << endl;
wclog << L'L' << endl;
} }
int main() int main()
......
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