[Bug c++/123186] [16 Regression] internal compiler error: in lookup_member, at cp/search.cc:1197 since r16-6145
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Dec 18 09:53:57 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123186
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
clang++ complains on this about missing template keyword, g++ didn't.
template <class T>
struct A : T {
typename A<T>::template B<> C;
};
started to ICE the same and was accepted before.
More information about the Gcc-bugs
mailing list