mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-30 07:14:09 +08:00
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:
parent
ac912ba1db
commit
05a47a473d
@ -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:
|
||||
|
@ -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()
|
Loading…
Reference in New Issue
Block a user