[libcxx-commits] [libcxx] [NFC][libc++][exceptions] Adds tests for LWG3112. (PR #100881)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jul 30 09:48:28 PDT 2024


================
@@ -21,11 +21,12 @@
 #include "test_macros.h"
 
 int main(int, char**) {
-    std::string what_arg("test message");
+    std::string what_arg("test message\0With embedded NUL");
----------------
ldionne wrote:

Can you instead add a new test that explicitly mentions the LWG issue? I'm worried that this coverage could go away via a refactoring otherwise.

https://github.com/llvm/llvm-project/pull/100881


More information about the libcxx-commits mailing list