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

Richard Smith <richard-l...@metafoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Richard Smith <richard-l...@metafoo.co.uk> ---
Per core issue 506, an implementation is required to either reject such code or
make it work:

[expr.call]/9: "Passing a potentially-evaluated argument of class type (Clause
9) having a non-trivial copy constructor, a non-trivial move constructor, or a
non-trivial destructor, with no corresponding parameter, is
conditionally-supported with implementation-defined semantics."

Clang chooses to reject.

-- 
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