https://bugs.llvm.org/show_bug.cgi?id=33395

Eric Fiselier <e...@efcs.ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |e...@efcs.ca
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Eric Fiselier <e...@efcs.ca> ---
Reduced reproducer:

struct A {};
struct B : A { using A::A; };
B test() { return A{}; }

The reason this is rejected is that the copy/move constructors of A are not
inherited by B. This is the desired behavior.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to