nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 22 lines 603 B view raw
1diff --git a/test/unittest/writertest.cpp b/test/unittest/writertest.cpp 2index 4c24121..66c9087 100644 3--- a/test/unittest/writertest.cpp 4+++ b/test/unittest/writertest.cpp 5@@ -386,6 +386,9 @@ TEST(Writer, InvalidEncoding) { 6 writer.EndArray(); 7 } 8 9+ 10+ // does not compile on clang-19 11+#if 0 12 // Fail in encoding 13 { 14 StringBuffer buffer; 15@@ -401,6 +404,7 @@ TEST(Writer, InvalidEncoding) { 16 static const UTF32<>::Ch s[] = { 0x110000, 0 }; // Out of U+0000 to U+10FFFF 17 EXPECT_FALSE(writer.String(s)); 18 } 19+#endif 20 } 21 22 TEST(Writer, ValidateEncoding) {