[LLVMbugs] [Bug 15668] New: static, extern, static function is rejected incorrectly
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Apr 4 09:38:49 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=15668
Bug ID: 15668
Summary: static, extern, static function is rejected
incorrectly
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: bruce.r.stephens at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
This is presumably 3645, again (though with a function).
static void a(void);
extern void a();
static void a(void) {}
is rejected by clang, but not by gcc (and other compilers). The code appears to
be valid (the function is static).
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130404/fc3b7f18/attachment.html>
More information about the llvm-bugs
mailing list