https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115792
--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to 康桓瑋 from comment #7) > (In reply to Andrew Pinski from comment #6) > > 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 > > So you mean this is Clang bug? yes it looks that way from my reading of the paper and even the spec change there.