https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110828
Patrick Palka <ppalka at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ppalka at gcc dot gnu.org --- Comment #1 from Patrick Palka <ppalka at gcc dot gnu.org> --- Does it work if you move the static_assert into a function scope? If so then this is probably a dup of PR85944.