PR libstdc++/66417
commit2af3e910d298b2444f0114c6903fc4438a42c14a
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 Jun 2015 11:09:17 +0000 (8 11:09 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 Jun 2015 11:09:17 +0000 (8 11:09 +0000)
treefdbd72bd86a3d42fcef6252358719cc3ba090765
parent73118c48bba686185e5f819e8efc358dc754f04f
PR libstdc++/66417
* src/c++11/codecvt.cc (write_utf16_code_point): Use adjust_byte_order
for single UTF-16 units.
* testsuite/22_locale/codecvt/codecvt_utf16/66417.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@224217 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/src/c++11/codecvt.cc
libstdc++-v3/testsuite/22_locale/codecvt/codecvt_utf16/66417.cc [new file with mode: 0644]