https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95048
--- Comment #28 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-13 branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>: https://gcc.gnu.org/g:db179779c9416cebb646758d276744f78536cc25 commit r13-7559-gdb179779c9416cebb646758d276744f78536cc25 Author: Jonathan Wakely <jwak...@redhat.com> Date: Wed Jul 12 14:40:19 2023 +0100 libstdc++: Check conversion from filesystem::path to wide strings [PR95048] The testcase added for this bug only checks conversion from wide strings on construction, but the fix also covered conversion to wide strings via path::wstring(). Add checks for that, and u16string() and u32string(). libstdc++-v3/ChangeLog: PR libstdc++/95048 * testsuite/27_io/filesystem/path/construct/95048.cc: Check conversions to wide strings. * testsuite/experimental/filesystem/path/construct/95048.cc: Likewise. (cherry picked from commit d6384ad1a9ab7ea46990a7ed1299d5a2be4acece)