[LLVMbugs] [Bug 10739] New: friend function visibility error

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Aug 24 16:53:53 PDT 2011


http://llvm.org/bugs/show_bug.cgi?id=10739

           Summary: friend function visibility error
           Product: clang
           Version: 2.9
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: rkotler at mips.com
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


Created an attachment (id=7125)
 --> (http://llvm.org/bugs/attachment.cgi?id=7125)
friend function visibility error

in function bar2, the variable y is not in scope and thus there should be an
error but clang accepts this.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list