diff options
Diffstat (limited to 'libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc')
-rw-r--r-- | libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc b/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc index 571d717..f50f592 100644 --- a/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc +++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc @@ -32,12 +32,12 @@ void test02() fb.pubimbue(loc); fb.pubsetbuf(0, 0); fb.open("tmp_11305-2", ios_base::out); - wint_t n1 = fb.sputc(0x20000000); - wint_t n2 = fb.sputc(0x40000000); + wfilebuf::int_type n1 = fb.sputc(L'n'); + wfilebuf::int_type n2 = fb.sputc(L'e'); wfilebuf* f = fb.close(); - VERIFY( n1 != WEOF ); - VERIFY( n2 != WEOF ); + VERIFY( n1 != wfilebuf::traits_type::eof() ); + VERIFY( n2 != wfilebuf::traits_type::eof() ); VERIFY( f != NULL ); } |