http://llvm.org/bugs/show_bug.cgi?id=20996
Bug ID: 20996
Summary: crash on invalid return of an object with a deleted
destructor
Product: clang
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Keywords: crash-on-invalid
Severity: normal
Priority: P
Component: C++11
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
struct foo {
foo(int);
~foo() = delete;
};
foo func() {
return 1;
}
Ends up calling clang::Expr::isTemporaryObject on a null Expr*.
--
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