[llvm-bugs] [Bug 28639] New: noexcept feature for function has not been supported
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Jul 21 00:28:31 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=28639
Bug ID: 28639
Summary: noexcept feature for function has not been supported
Product: clang
Version: 3.9
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++11
Assignee: unassignedclangbugs at nondot.org
Reporter: westion717 at gmail.com
CC: dgregor at apple.com, llvm-bugs at lists.llvm.org
Classification: Unclassified
I wonder whether it is a feature clang does not want to support or a bug?
#include <exception>
extern "C" void exit(int);
void operator delete(void*) noexcept(true)
{
throw -59;
}
void g()
{
exit(0);
}
int main()
{
std::set_terminate(g);
try {
delete (char*)0;
}
catch (...) {
return 1;
}
return 1;
}
expected return code: 0;
actual return code: 1;
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160721/2db74e66/attachment-0001.html>
More information about the llvm-bugs
mailing list