https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88869
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2019-01-16 CC| |jakub at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Reduced testcase (-std=c++17): using A = int; template <typename> struct B; template <> struct B<A> { template <typename> struct C { C (); }; auto foo () { C (); } }; That is ice-on-invalid, dunno if the original is invalid too or not.