[LLVMbugs] [Bug 8396] New: Fix-it for "main must return int" is wrong for "unsigned int"
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun Oct 17 05:25:25 PDT 2010
http://llvm.org/bugs/show_bug.cgi?id=8396
Summary: Fix-it for "main must return int" is wrong for
"unsigned int"
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: schaub-johannes at web.de
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
unsigned int main() { }
main1.cpp:1:1: error: 'main' must return 'int'
unsigned int main() {
^~~~~~~~
int
1 error generated.
Should span the entire "unsigned int".
--
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