On Tue, Sep 24, 2013 at 3:00 AM, Alp Toker <[email protected]> wrote:

> The previous language linkage needs to be retained as described in
> [class.friend]p3 otherwise valid friend redeclarations differing only in
> lexical linkage are rejected.
>

[class.friend]p3 says the previous linkage (internal/external/no linkage)
is retained, not the previous language linkage. Our current behavior
appears to be correct here.


> Fixes PR17337.
>
> --
> http://www.nuanti.com
> the browser experts
>
>
> _______________________________________________
> cfe-commits mailing list
> [email protected]
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
>
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to