http://llvm.org/bugs/show_bug.cgi?id=12692

Richard Smith <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|                            |FIXED

--- Comment #1 from Richard Smith <[email protected]> 2012-04-29 
01:35:12 CDT ---
This has been fixed for several weeks, but this particular case triggered an
assert (which is fixed in r155784).

With trunk clang, we produce:

tmp.cpp:22:7: error: overload resolution selected implicitly-deleted move
assignment operator
   a1 = std::move(a2);
      ^
tmp.cpp:11:7: note: explicitly defaulted function was implicitly deleted here
   A& operator=(A&&) = default;
      ^
tmp.cpp:13:9: note: move assignment operator of 'A' is implicitly deleted
because field 'm_i' is of reference type 'int &'
   int& m_i;
        ^

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to