[LLVMbugs] [Bug 12121] New: Rejects functional-cast to array type with braced init list
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Feb 28 14:29:46 PST 2012
http://llvm.org/bugs/show_bug.cgi?id=12121
Bug #: 12121
Summary: Rejects functional-cast to array type with braced init
list
Product: clang
Version: trunk
Platform: PC
OS/Version: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: C++0x
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: schaub.johannes at googlemail.com
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
This should not be rejected:
template<typename T> using alias = T;
int main() { alias<int[]>{1, 2, 3}; }
Clang says: "error: array types cannot be value-initialized".
--
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