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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]

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.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to