https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79767
Nathan Sidwell <nathan at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|rejects-valid |accepts-invalid --- Comment #1 from Nathan Sidwell <nathan at gcc dot gnu.org> --- I thihnk this too is invalid (see 79766). The definition of 'P' should find Y::X::P and then complain in the same way 79766 should complain about Y::Q