https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70141
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |trippels at gcc dot gnu.org Resolution|--- |INVALID --- Comment #6 from Markus Trippelsdorf <trippels at gcc dot gnu.org> --- template <typename T> struct X {}; template <typename T> struct X<typename T::foo> {}; is another example were clang just warns, but an error is clearly indicated. Closing bug as invalid.