[Bug c++/120640] Keyword 'typename' should not affect qualified name lookup
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120640 --- Comment #2 from Vlad Serebrennikov --- Yes, because in this case it's an elaborated-type-specifier, and name lookup is type-only. The original example should be diagnosed in pedantic mode at the very least.
[Bug c++/120640] New: Keyword 'typename' should not affect qualified name lookup
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120640 Bug ID: 120640 Summary: Keyword 'typename' should not affect qualified name lookup Product: gcc Version: 15.1.1 Status: UNCONFIRMED Severity: normal