[LLVMbugs] [Bug 2046] New: clang incorrectly rejects references to earlier paramters in a prototype
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Sat Feb 16 00:20:30 PST 2008
http://llvm.org/bugs/show_bug.cgi?id=2046
Summary: clang incorrectly rejects references to earlier
paramters in a prototype
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: parser
AssignedTo: unassignedbugs at nondot.org
ReportedBy: sharparrow1 at yahoo.com
CC: llvmbugs at cs.uiuc.edu
Testcase:
int aa(int b, int x[sizeof b]) {}
This is perfectly legal C90 and C99 code, but clang claims the b is undeclared.
--
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