[Bug c++/93383] ICE on accessing field of a structure which is non-type template parameter, -std=c++2a
mpolacek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Apr 11 03:35:15 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93383
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mpolacek at gcc dot gnu.org
--- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Test from bug 93639:
template<int N> struct A;
template<A> struct B;
template<A a>
struct C
{
using type = B<a.cstr>;
};
int main() {}
More information about the Gcc-bugs
mailing list