[clang] [Clang][NFC] Add test for CWG2285 "Issues with structured bindings" (PR #126421)
Vlad Serebrennikov via cfe-commits
cfe-commits at lists.llvm.org
Sun Feb 9 16:40:47 PST 2025
================
@@ -196,6 +196,16 @@ void g() {
#endif
} // namespace cwg2277
+namespace cwg2285 { // cwg2285: 4
----------------
Endilll wrote:
It seems that Clang 5 was the first release which exhibits the correct behavior: https://godbolt.org/z/qabGrdvPq
https://github.com/llvm/llvm-project/pull/126421
More information about the cfe-commits
mailing list