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: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected],
[email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs