[clang] [clang] Add test for CWG1606 (PR #87274)

Shafik Yaghmour via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 1 14:26:11 PDT 2024


https://github.com/shafik approved this pull request.

Thank you for the test! LGTM.

Do we also have a test that `sizeof([=]{ return i + j;})` should fail as well? Tangentially related to this DR but if we don't we should cover that in our tests someplace.

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


More information about the cfe-commits mailing list