Fix std::wbuffer_convert::sync()
commit31c0d71d89474a671321b70f78675ce33918d280
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Jun 2017 13:23:42 +0000 (16 13:23 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Jun 2017 13:23:42 +0000 (16 13:23 +0000)
tree1b97f051a57883f2bf5381c986dc3ac5f095ea87
parent866da453afff631a9c4a38ab18cfc1b1e719eb22
Fix std::wbuffer_convert::sync()

* include/bits/locale_conv.h (wbuffer_convert::sync): Fix condition.
* testsuite/22_locale/conversions/buffer/2.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@249255 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/locale_conv.h
libstdc++-v3/testsuite/22_locale/conversions/buffer/2.cc [new file with mode: 0644]