https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90961
Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2020-01-27 CC| |marxin at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> --- Confirmed. Clang provides a reasonable error message: clang++ pr90961.cc -c pr90961.cc:1:28: error: expected '(' for function-style cast or type construction static_assert(noexcept(void)); ~~~~^ 1 error generated.