https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101435
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEW Last reconfirmed| |2021-07-13 Keywords| |diagnostic See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=16233 --- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- Right, "typename M" would be invalid, you only need "typename" before a nested name like M::Scalar, where M is dependent. This is nothing to do with PR 63392. Confirmed as a diagnostic bug. It would be good to get a fix-it here. Maybe a dup of PR 16233.