[LLVMbugs] [Bug 6967] New: Friend doesn't work for template method declaration.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Apr 28 10:59:40 PDT 2010


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

           Summary: Friend doesn't work for template method declaration.
           Product: clang
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: dnljms at gmail.com
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


Created an attachment (id=4759)
 --> (http://llvm.org/bugs/attachment.cgi?id=4759)
A test case.

In the attached test, the methods can't access foo::type at instantiation
although I think they should since access is a friend of foo.

-- 
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