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

Reply via email to