https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112652
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Strange. On cfarm211 which is SunOS gcc-solaris11 5.11 11.3 sun4u sparc SUNW,SPARC-Enterprise the test passes. /export/home/jakub/gcc/gcc/testsuite/g++.dg/cpp26/literals2.C:7:9: warning: multi-character character constant [-Wmultichar] /export/home/jakub/gcc/gcc/testsuite/g++.dg/cpp26/literals2.C:8:9: warning: multi-character character constant [-Wmultichar] /export/home/jakub/gcc/gcc/testsuite/g++.dg/cpp26/literals2.C:10:9: error: converting to execution character set: Illegal byte sequence /export/home/jakub/gcc/gcc/testsuite/g++.dg/cpp26/literals2.C:11:9: error: named universal character escapes are only valid in C++23 /export/home/jakub/gcc/gcc/testsuite/g++.dg/cpp26/literals2.C:11:9: error: converting UCN to execution character set: Illegal byte sequence /export/home/jakub/gcc/gcc/testsuite/g++.dg/cpp26/literals2.C:13:9: error: converting UCN to execution character set: Illegal byte sequence ... You get no diagnostics for those lines at all? Buggy libconv? I mean the emojis certainly aren't in ISO-8859-1...