[LLVMbugs] [Bug 12063] New: lambda extension to add conversion-to-block makes conversion to bool ambiguous

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Feb 21 16:42:51 PST 2012


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: unassignedclangbugs at nondot.org
        ReportedBy: sharparrow1 at yahoo.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    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.



More information about the llvm-bugs mailing list