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

             Bug #: 14838
           Summary: Reference to temporary std::function crashes clang++
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified


Created attachment 9829
  --> http://llvm.org/bugs/attachment.cgi?id=9829
Sample code

The attached code crashes the trunk version of clang++ in Ubuntu 12.04 when
compiled with

$ clang++ clangcrash.cpp -std=c++11

The output is

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