https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95568
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mpolacek at gcc dot gnu.org
--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
The problem seems to be not that we're in a require-clause but that we're in a
template, the following is also rejected:
template<class T> struct X { T x; };
template<class T> void g () { X{0}; }
