This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/50523] C++ FE apparently incorrectly rejects tramp3d
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 26 Sep 2011 14:42:39 +0000
- Subject: [Bug c++/50523] C++ FE apparently incorrectly rejects tramp3d
- Auto-submitted: auto-generated
- References: <bug-50523-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50523
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
AssignedTo|unassigned at gcc dot |jason at gcc dot gnu.org
|gnu.org |
--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> 2011-09-26 14:42:39 UTC ---
Reduced:
template <class T>
struct A
{
A();
A(const A&);
A(const T&);
operator T&() const;
operator const T&() const;
};
int main()
{
A<int> a;
A<int> a2(a);
}