https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71143
Jason Merrill <jason at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org --- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> --- This testcase is ill-formed, no diagnostic required, but the 71209 testcase is well-formed, so let's use that one instead: class A { int table_clear; }; template <typename T> class B : T { B() { this->A::table_clear; } };