================
@@ -54,6 +54,13 @@ void printf_deceptive_newline() {
// CHECK-FIXES: std::println("Hello");
}
+void printf_utf8_text() {
+ // Non-ASCII UTF-8 in format string should not crash.
+ printf("你好世界\n");
----------------
zeyi2 wrote:
For clarity: "你好世界" is the Chinese equivalent of "Hello, World".
https://github.com/llvm/llvm-project/pull/169215
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits