https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122668

--- Comment #3 from Patrick Palka <ppalka at gcc dot gnu.org> ---
(In reply to Patrick Palka from comment #2)
> > It seems like we need to treat TestClass as dependentish in this context, 
> > perhaps just add TYPE_BEING_DEFINED to dependentish_scope_p?
> Makes sense, maybe also '&& cp_noexcept_operand' since IIUC this particular
> bug is specific to noexcept-specs.
... and within other parts of a function signature, we _do_ want to diagnose
current-instantiation name lookup failure ahead of time.

Reply via email to