https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33659
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- This is actually valid code, the class name is injected and can be used in this context (the last one is used to name the constructor otherwise). Dup of bug 40294 which is recording all of the valid cases which were closed as a dup of bug 11764. *** This bug has been marked as a duplicate of bug 40294 ***