On 06/10/2014 11:19 AM, Paolo Carlini wrote:
Back to you in a few hours, but I suspect we would have trouble with the famousstruct S { friend S::S(); }; compiled with -fpermissive.
I don't think so; that should be handled later in grokdeclarator by
if (declarator && declarator->u.id.qualifying_scope && MAYBE_CLASS_TYPE_P (declarator->u.id.qualifying_scope)) { ctype = declarator->u.id.qualifying_scope;
Jason