[LLVMbugs] [Bug 12670] New: braced initialization of array of class types by constructor call rejected
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Apr 25 19:06:26 PDT 2012
http://llvm.org/bugs/show_bug.cgi?id=12670
Bug #: 12670
Summary: braced initialization of array of class types by
constructor call rejected
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: C++11
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: richard-llvm at metafoo.co.uk
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu,
sebastian.redl at getdesigned.at
Classification: Unclassified
Clang incorrectly rejects this in C++11 mode:
struct S { S(int); };
S s[] = { {1}, {2} };
The FIXME at SemaInit.cpp:721 looks responsible.
--
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