[LLVMbugs] [Bug 3519] New: multiple designated initializer related bug
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Mon Feb 9 11:32:17 PST 2009
http://llvm.org/bugs/show_bug.cgi?id=3519
Summary: multiple designated initializer related bug
Product: clang
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: AST
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: bolzoni at cs.unipr.it
CC: llvmbugs at cs.uiuc.edu, bagnara at cs.unipr.it
code.c --<
struct foo {
int arr[10];
};
struct foo Y[10] = {
[1] .arr [1] = 2,
[4] .arr [2] = 4
};
--------->
clang code.c
code.c:7:7: error: field designator cannot initialize a non-struct, non-union
type 'int'
[4] .arr [2] = 4
^
1 diagnostic 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.
More information about the llvm-bugs
mailing list