[llvm-bugs] [Bug 25314] New: Friend declaration enables access control circumvention
    via llvm-bugs 
    llvm-bugs at lists.llvm.org
       
    Sun Oct 25 09:51:46 PDT 2015
    
    
  
https://llvm.org/bugs/show_bug.cgi?id=25314
            Bug ID: 25314
           Summary: Friend declaration enables access control
                    circumvention
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++14
          Assignee: unassignedclangbugs at nondot.org
          Reporter: r.hl at gmx.net
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified
Created attachment 15159
  --> https://llvm.org/bugs/attachment.cgi?id=15159&action=edit
testcase
Removing (*) produces an error message, although the code is ill-formed to
begin with, since f does not have access to c's member(s).
-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20151025/cac452a3/attachment-0001.html>
    
    
More information about the llvm-bugs
mailing list