[LLVMbugs] [Bug 1948] New: Local aggregate initializers
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Fri Jan 25 20:58:59 PST 2008
http://llvm.org/bugs/show_bug.cgi?id=1948
Summary: Local aggregate initializers
Product: clang
Version: unspecified
Platform: PC
OS/Version: NetBSD
Status: NEW
Severity: minor
Priority: P2
Component: Semantic Analyzer
AssignedTo: unassignedbugs at nondot.org
ReportedBy: neil at daikokuya.co.uk
CC: llvmbugs at cs.uiuc.edu
Following recent great work on initializers, this is the only issue I could
find:
struct foo { int z; } w;
int bar (void) { struct foo z = { w }; return z.z; }
The above should reject the initializer, as w is not an "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