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: unassignedclangb...@nondot.org
          Reporter: tiagomacar...@gmail.com
                CC: blitzrak...@gmail.com, dgre...@apple.com,
                    erik.pilking...@gmail.com, llvm-bugs@lists.llvm.org,
                    richard-l...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to