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