[LLVMbugs] [Bug 4515] New: certain enum constants have wrong type inside an enum definition
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Tue Jul 7 14:27:18 PDT 2009
http://llvm.org/bugs/show_bug.cgi?id=4515
Summary: certain enum constants have wrong type inside an enum
definition
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Semantic Analyzer
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: sharparrow1 at yahoo.com
CC: llvmbugs at cs.uiuc.edu
Testcase:
enum a{a=1u,b=(a-2)/2};
int checkb[b==0?1:-1];
See also http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30260 .
Split off from bug 3173, so we don't lose track of it.
--
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