[LLVMbugs] [Bug 3660] New: Clang does not enforce the restrictions on main
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Tue Feb 24 08:20:12 PST 2009
http://llvm.org/bugs/show_bug.cgi?id=3660
Summary: Clang does not enforce the restrictions on main
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Semantic Analyzer
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: dgregor at apple.com
CC: llvmbugs at cs.uiuc.edu
Clang's semantic analysis does not enforce any of the restrictions on the
function main, in C or in C++. For example, it happily accepts this bogus
definition:
inline static float main(float) { }
--
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