https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85570
Marek Polacek changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85570
--- Comment #5 from Andrew Pinski ---
(In reply to Marek Polacek from comment #4)
> I guess I should add the test.
Though cpp23/lookup2.C does look close to this testcase here.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85570
Marek Polacek changed:
What|Removed |Added
Keywords|needs-bisection |
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85570
Andrew Pinski changed:
What|Removed |Added
Known to fail||11.4.0
Keywords|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85570
--- Comment #2 from Andrew Pinski ---
Note typedef has a similar issue and you don't even need to have main or an use
of test to show the issue:
void func() {}
};
template
struct C : public A {
typedef A TheA;
};
template
void test1() {
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85570
Jonathan Wakely changed:
What|Removed |Added
Keywords||rejects-valid