This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/39164] [C++0x] defaulted dtor redefinition not caught
- 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: Thu, 06 Oct 2011 19:57:06 +0000
- Subject: [Bug c++/39164] [C++0x] defaulted dtor redefinition not caught
- Auto-submitted: auto-generated
- References: <bug-39164-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39164
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> 2011-10-06 19:57:06 UTC ---
Author: jason
Date: Thu Oct 6 19:56:53 2011
New Revision: 179634
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179634
Log:
PR c++/39164
* decl.c (grokfndecl): Diagnose redefinition of defaulted fn.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/defaulted31.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl.c
trunk/gcc/testsuite/ChangeLog