This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/48255] default constructor with argument INT
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Mar 2011 15:55:41 -0000
- Subject: [Bug c++/48255] default constructor with argument INT
- Auto-submitted: auto-generated
- References: <bug-48255-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48255
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-03-23 15:55:36 UTC ---
t.C:5:6: error: no matching function for call to âA::A(int)â
t.C:1:8: note: candidates are: A::A()
t.C:1:8: note: A::A(const A&)
your code example is rejected as it should.