On 07/09/2014 06:07 AM, Paolo Carlini wrote:
The third case, I don't think it can really happen, because there are earlier checks which simply return error_mark_node if a declaration is within the wrong class...
Not if it's a friend declaration: struct A { explicit A(int); }; struct B { explicit friend A::A(int); }; Jason