[LLVMbugs] [Bug 14957] New: friend before extern "C" definition rejected
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Jan 15 06:44:14 PST 2013
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: rafael.espindola at gmail.com
ReportedBy: joerg at NetBSD.org
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
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.
More information about the llvm-bugs
mailing list