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

            Bug ID: 19508
           Summary: Nested class with std::unique_ptr with custom deleter
                    causes clang to crash.
           Product: clang
           Version: 3.4
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: -New Bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

Created attachment 12418
  --> http://llvm.org/bugs/attachment.cgi?id=12418&action=edit
The dump that was on output when clang crashes.

#include <memory>

class temp_test final
{
    class bar final
    {
        std::unique_ptr<void, auto (*)(void*) -> void>  _data{nullptr,
[](void*){}};
    };
};

The above code causes clang to crash in Linux, clang 3.4.

It works on OS X clang.

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