[LLVMbugs] [Bug 2374] New: sema calculates incorrect type for statement expression with label
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Mon May 26 22:27:04 PDT 2008
http://llvm.org/bugs/show_bug.cgi?id=2374
Summary: sema calculates incorrect type for statement expression
with label
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Semantic Analyzer
AssignedTo: unassignedbugs at nondot.org
ReportedBy: sharparrow1 at yahoo.com
CC: llvmbugs at cs.uiuc.edu
Split off from PR2325.
Testcase:
int a() { return ({L:5;}); }
This should be equivalent to "return 5;", but clang gives an error.
--
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