Fix std::wbuffer_convert::sync()
commitbfe8a528aa35b66146fa7bac8ea0c1a5bc48bb70
authorJonathan Wakely <jwakely@redhat.com>
Fri, 16 Jun 2017 13:23:42 +0000 (16 14:23 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 16 Jun 2017 13:23:42 +0000 (16 14:23 +0100)
tree1b97f051a57883f2bf5381c986dc3ac5f095ea87
parent01f1c24e423755d237e6c13ff81da1356b153caa
Fix std::wbuffer_convert::sync()

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

From-SVN: r249255
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/locale_conv.h
libstdc++-v3/testsuite/22_locale/conversions/buffer/2.cc [new file with mode: 0644]