http://llvm.org/bugs/show_bug.cgi?id=12063

             Bug #: 12063
           Summary: lambda extension to add conversion-to-block makes
                    conversion to bool ambiguous
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++0x
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified


Testcase (with -std=c++11 -fblocks):
bool x = (bool)[]{};

This should compile (probably); it current does not.

-- 
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