* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1:
Fix, closely following the testcase included in the PR.
* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2: Ditto.
* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3: Ditto.
* testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4: Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73548
138bc75d-0d04-0410-961f-
82ee72b054a4
+2003-11-13 Paolo Carlini <pcarlini@suse.de>
+
+ * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1:
+ Fix, closely following the testcase included in the PR.
+ * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2: Ditto.
+ * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3: Ditto.
+ * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4: Ditto.
+
2003-11-13 Jonathan Wakely <redi@gcc.gnu.org>
* docs/html/17_intro/configury.html: XHTML tweak.
fb.pubimbue(loc);
fb.pubsetbuf(0, 0);
fb.open("tmp_11305-1", ios_base::out);
- wfilebuf::int_type n1 = fb.sputc(L'e');
+ wfilebuf::int_type n1 = fb.sputc(0x20000000);
wfilebuf* f = fb.close();
VERIFY( n1 != wfilebuf::traits_type::eof() );
fb.pubimbue(loc);
fb.pubsetbuf(0, 0);
fb.open("tmp_11305-2", ios_base::out);
- wfilebuf::int_type n1 = fb.sputc(L'n');
- wfilebuf::int_type n2 = fb.sputc(L'e');
+ wfilebuf::int_type n1 = fb.sputc(0x20000000);
+ wfilebuf::int_type n2 = fb.sputc(0x40000000);
wfilebuf* f = fb.close();
VERIFY( n1 != wfilebuf::traits_type::eof() );
locale loc(__gnu_test::try_named_locale("en_US.UTF-8"));
fb.pubimbue(loc);
fb.open("tmp_11305-3", ios_base::out);
- wfilebuf::int_type n1 = fb.sputc(L'a');
+ wfilebuf::int_type n1 = fb.sputc(0x20000000);
wfilebuf* f = fb.close();
VERIFY( n1 != wfilebuf::traits_type::eof() );
locale loc(__gnu_test::try_named_locale("en_US.UTF-8"));
fb.pubimbue(loc);
fb.open("tmp_11405-4", ios_base::out);
- wfilebuf::int_type n1 = fb.sputc(L'i');
- wfilebuf::int_type n2 = fb.sputc(L'a');
+ wfilebuf::int_type n1 = fb.sputc(0x20000000);
+ wfilebuf::int_type n2 = fb.sputc(0x40000000);
wfilebuf* f = fb.close();
VERIFY( n1 != wfilebuf::traits_type::eof() );