[llvm-bugs] [Bug 51145] New: errors on declaration returning an abstract class
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Jul 20 11:25:27 PDT 2021
https://bugs.llvm.org/show_bug.cgi?id=51145
Bug ID: 51145
Summary: errors on declaration returning an abstract class
Product: clang
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: C++
Assignee: unassignedclangbugs at nondot.org
Reporter: tiagomacarios at gmail.com
CC: blitzrakete at gmail.com, dgregor at apple.com,
erik.pilkington at gmail.com, llvm-bugs at lists.llvm.org,
richard-llvm at metafoo.co.uk
Clang errors with the following code. MSVC and GCC compile fine.
https://godbolt.org/z/n9YqEPEMe
struct S
{
virtual void m() = 0;
};
S f();
I believe MSVC and GCC have implemented P0929R2
http://open-std.org/JTC1/SC22/WG21/docs/papers/2018/p0929r2.html
--
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/20210720/a4a6edf8/attachment.html>
More information about the llvm-bugs
mailing list