[llvm-bugs] [Bug 11891] clang accepts-invalid with templates and abstract classes
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Nov 16 12:53:39 PST 2020
https://bugs.llvm.org/show_bug.cgi?id=11891
Richard Smith <richard-llvm at metafoo.co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |richard-llvm at metafoo.co.uk
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #1 from Richard Smith <richard-llvm at metafoo.co.uk> ---
This was fixed at some point:
<stdin>:3:20: error: allocating an object of abstract class type 'A'
void f() { B<A>::f(*(A*)0); }
^
<stdin>:1:25: note: unimplemented pure virtual method 'x' in 'A'
struct A { virtual void x() = 0; };
^
--
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/20201116/de0d72c8/attachment.html>
More information about the llvm-bugs
mailing list