[LLVMbugs] [Bug 16892] Clang fails to diagnose (ICE: segfault) taking address of a destructor

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Oct 10 03:02:17 PDT 2013


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

Benjamin Kramer <benny.kra at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |benny.kra at gmail.com
         Resolution|---                         |FIXED

--- Comment #2 from Benjamin Kramer <benny.kra at gmail.com> ---
With r192345:

$ clang test.cpp
test.cpp:2:18: error: taking the address of a destructor
void (S::*f)() = &S::~S;
                 ^~~~~

-- 
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/20131010/d04ca26b/attachment.html>


More information about the llvm-bugs mailing list