https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94523
Volker Reichelt <reichelt at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu.org
--- Comment #4 from Volker Reichelt <reichelt at gcc dot gnu.org> ---
Here's a simpler testcase without variadic templates and template alias:
=======================================
struct A
{
char c;
constexpr A(int) : c() {}
};
template<int N> struct B
{
static constexpr auto X = A(N);
};
constexpr A a = B<0>::X;
=======================================