http://llvm.org/bugs/show_bug.cgi?id=12584
Bug #: 12584
Summary: strange error message on definitely wrong code
Product: clang
Version: trunk
Platform: PC
OS/Version: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: Frontend
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
The first error is absolutely correct, but the second is not. There is no 'int
()' anywhere.
1.cpp:1:14: error: 'xxx' declared as array of functions of type 'void ()'
void xxx[5]()[6]();
^
1.cpp:1:9: error: 'xxx' declared as array of functions of type 'int ()'
void xxx[5]()[6]();
^
2 errors generated.
--
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