[LLVMbugs] [Bug 7754] New: Clang doesn't like extern "C++" followed by a template declaration.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jul 29 20:37:07 PDT 2010


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

           Summary: Clang doesn't like extern "C++" followed by a template
                    declaration.
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: pichet2000 at gmail.com
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


Clang doesn't like this code:
extern "C++"
template <class T> int func(T param);

But it correctly parses this:
extern "C++" {
    template <class T> int func(T param);
}

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