https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34810
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2008-01-16 13:26:36 |2021-8-11 --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- clang does a pedwarning: <source>:7:22: error: ISO C++ specifies that qualified reference to 'Foo' is a constructor name rather than a type in this context, despite preceding 'typename' keyword [-Werror,-Winjected-class-name] typename Foo<T>::Foo (); ^