http://llvm.org/bugs/show_bug.cgi?id=14957
Bug #: 14957
Summary: friend before extern "C" definition rejected
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: C++
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Test case:
extern "C" {
class Foo {
friend void bar();
};
extern void bar();
Output:
error: declaration of 'bar' has a different language linkage
--
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