http://llvm.org/bugs/show_bug.cgi?id=3645
Summary: clang incorrectly rejects "static int a; extern int a;"
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Semantic Analyzer
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Per summary, the following testcase is incorrectly rejected by clang:
static int a;
extern int a;
Per C99 6.2.2p4, the identifier "a" has internal linkage.
Related: bug 3425, a similar sort of error with function redeclarations.
--
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