https://gcc.gnu.org/g:83cd4bda12f1218fea878acfc964949649ca9fc7
commit r14-11524-g83cd4bda12f1218fea878acfc964949649ca9fc7 Author: Tomasz Kamiński <tkami...@redhat.com> Date: Thu Apr 3 14:56:49 2025 +0200 libstdc++: Restored accidentally removed test case. It was removed by accident r14-11523-gad1b71fc2882c1. libstdc++-v3/ChangeLog: * testsuite/std/format/functions/format.cc: Restored line. (cherry picked from commit 81c990aa84b22562157ce2926577b392b4a129d3) Diff: --- libstdc++-v3/testsuite/std/format/functions/format.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/libstdc++-v3/testsuite/std/format/functions/format.cc b/libstdc++-v3/testsuite/std/format/functions/format.cc index 97eb0957e5e1..78010e159d36 100644 --- a/libstdc++-v3/testsuite/std/format/functions/format.cc +++ b/libstdc++-v3/testsuite/std/format/functions/format.cc @@ -518,6 +518,7 @@ test_unicode() std::string sP = std::format("{:1.1} {:*<1.1}", "£", "🤡"); VERIFY( sP == "£ *" ); sP = std::format("{:*<2.1} {:*<2.1}", "£", "🤡"); + VERIFY( sP == "£* **" ); // Verify field width handling for extended grapheme clusters, // and that a cluster gets output as a single item, not truncated.