https://llvm.org/bugs/show_bug.cgi?id=23808

            Bug ID: 23808
           Summary: segmentation fault in std::unique_ptr virtual
                    destructor
           Product: libc++
           Version: 3.6
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified

#include <memory>

struct A{ virtual ~A() = default; };
struct B: A{};

int main(){
    // segmentation fault in B's destructor
    auto b = std::make_unique< B >();
}

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