[clang] [Clang][Sema] Implement proposed resolution for CWG2847 (PR #80899)

Vlad Serebrennikov via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 6 12:07:21 PST 2024


================
@@ -0,0 +1,41 @@
+// RUN: %clang_cc1 -std=c++20 -verify=expected %s
+
+namespace dr2847 { // dr2847: 19
+
----------------
Endilll wrote:

As this test requires C++20, it should be wrapped in `#if  __cplusplus`.

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


More information about the cfe-commits mailing list