[clang] [clang] add test verifying DR242 behavior (PR #201441)

Vlad Serebrennikov via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 4 08:35:18 PDT 2026


================
@@ -695,6 +695,37 @@ namespace cwg241 { // cwg241: 9
   }
 } // namespace cwg241
 
+namespace cwg242 { // cwg242: yes
----------------
Endilll wrote:

Use Compiler Explorer to figure out what was the first version of Clang that exhibits the expected behavior. Also see https://github.com/llvm/llvm-project/pull/195490#pullrequestreview-4216710625.

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


More information about the cfe-commits mailing list