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
This commit is contained in:
Paolo Carlini 2003-11-28 10:24:27 +00:00 committed by Paolo Carlini
parent ac912ba1db
commit 05a47a473d
2 changed files with 19 additions and 6 deletions

View File

@ -1,3 +1,9 @@
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:

View File

@ -32,15 +32,22 @@ void test01()
ios_base::sync_with_stdio(false);
locale::global(locale("en_US"));
cin.imbue(locale("en_US"));
cout.imbue(locale("en_US"));
cerr.imbue(locale("en_US"));
clog.imbue(locale("de_DE"));
locale::global(__gnu_test::try_named_locale("en_US"));
cin.imbue(__gnu_test::try_named_locale("en_US"));
cout.imbue(__gnu_test::try_named_locale("en_US"));
cerr.imbue(__gnu_test::try_named_locale("en_US"));
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;
cerr << 'r' << endl;
clog << 'A' << endl;
wcout << L's' << endl;
wcerr << L'i' << endl;
wclog << L'L' << endl;
}
int main()