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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]


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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to