https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115792

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
So I looked into the change for clang:
https://github.com/llvm/llvm-project/commit/0620e6f4b76a9725dbd82454d58c5a68a7e47074

And they didn't add a testcase for throw(). Only noexcept.

GCC add a testcase for `throw()` case though:
https://gcc.gnu.org/git/?p=gcc.git;a=blob;f=gcc/testsuite/g%2B%2B.dg/cpp23/lambda-specifiers1.C;h=6729a4555ddd6c5a98771a71ee3b5bc9850c2bd7;hb=0f161cc8494cf7283a16fa9ebbcf8fd121bab68d#l15

Reply via email to