[llvm-bugs] [Bug 21961] [fuzz] Assertion `(Destructor->isDefaulted() && !Destructor->doesThisDeclarationHaveABody() && !Destructor->isDeleted()) && "DefineImplicitDestructor - call it for implicit default dtor"' failed.
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Oct 21 17:06:06 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=21961
George Burgess <george.burgess.iv at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |george.burgess.iv at gmail.com
Resolution|--- |WORKSFORME
--- Comment #2 from George Burgess <george.burgess.iv at gmail.com> ---
Seems to have been fixed at some point ($clangpp is clang at r284690):
$ echo 'struct A {
~A() = delete;
~A() = default;
};' | $clangpp -fno-crash-diagnostics -std=c++11 -xc++ -c -emit-llvm -
<stdin>:3:3: error: destructor cannot be redeclared
~A() = default;
^
<stdin>:2:3: note: previous definition is here
~A() = delete;
^
1 error generated.
$ echo 'struct A {
A() = delete;
A() = default;
};' | $clangpp -fno-crash-diagnostics -std=c++11 -xc++ -c -emit-llvm -
<stdin>:3:3: error: constructor cannot be redeclared
A() = default;
^
<stdin>:2:3: note: previous definition is here
A() = delete;
^
1 error generated.
--
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/20161022/38659b74/attachment.html>
More information about the llvm-bugs
mailing list