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

Douglas Gregor <[email protected]> changed:

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

--- Comment #6 from Douglas Gregor <[email protected]> 2010-08-10 10:17:04 CDT 
---
Thank you! Reduced test case:

template<typename T>
struct auto_ptr {
  struct auto_ptr_ref { };

  auto_ptr(auto_ptr&);
  auto_ptr(auto_ptr_ref);
  explicit auto_ptr(T *);

  operator auto_ptr_ref();
};

struct X {
  X(auto_ptr<int>);
};

X f() {
  return X(auto_ptr<int>(new int));
}

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