[clang] [Clang][NFC] Mark 3106 as implemented. (PR #192256)

Corentin Jabot via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 15 06:40:43 PDT 2026


================
@@ -0,0 +1,15 @@
+// RUN: %clang_cc1 -std=c++98 -fexceptions -fcxx-exceptions -pedantic-errors -verify-directives -verify=expected %s
+// RUN: %clang_cc1 -std=c++11 -fexceptions -fcxx-exceptions -pedantic-errors -verify-directives -verify=expected %s
+// RUN: %clang_cc1 -std=c++14 -fexceptions -fcxx-exceptions -pedantic-errors -verify-directives -verify=expected %s
+// RUN: %clang_cc1 -std=c++17 -fexceptions -fcxx-exceptions -pedantic-errors -verify-directives -verify=expected %s
+// RUN: %clang_cc1 -std=c++20 -fexceptions -fcxx-exceptions -pedantic-errors -verify-directives -verify=expected %s
+// RUN: %clang_cc1 -std=c++23 -fexceptions -fcxx-exceptions -pedantic-errors -verify-directives -verify=expected %s
+// RUN: %clang_cc1 -std=c++2c -fexceptions -fcxx-exceptions -pedantic-errors -verify-directives -verify=expected %s
+
+
+namespace cwg3106 { // cwg3106: yes
+
+constexpr const char*  str = R"(\u{1234})";
+static_assert(str[0] == '\\');
----------------
cor3ntin wrote:

It does not, i changed the test :)

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


More information about the cfe-commits mailing list