[llvm-bugs] [Bug 33739] New: Nested friend qualifiers seem to be ignored
llvm-bugs at lists.llvm.org
Mon Jul 10 22:28:02 PDT 2017
Bug ID: 33739
Summary: Nested friend qualifiers seem to be ignored
Assignee: unassignedclangbugs at nondot.org
Reporter: miod at trust-in-soft.com
CC: dgregor at apple.com, llvm-bugs at lists.llvm.org
Created attachment 18774
nested friend statement testcase
[class.friend]p6 allows a complete function to be declared inline in a friend
statement. That function may contain local classes, which can in turn have
other friend statements. These inner statements seem to be ignored.
The attached simple example fails to compile with clang 3.8, 3.9 and 4.0. It
compiles with gcc 5.4.
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-bugs