re PR c++/49066 ([C++0x] Non-defining declaration of deleted function suppresses...
authorJason Merrill <jason@redhat.com>
Sat, 21 May 2011 03:57:12 +0000 (23:57 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Sat, 21 May 2011 03:57:12 +0000 (23:57 -0400)
commitc54a6b835913f97446cb0dfeb3c257009b61230e
treed09f7d2741ac7e2cfb4054b2bc01dec2e86b6209
parent11436beb875ef83f8de7a1d264834a276c6a3a7a
re PR c++/49066 ([C++0x] Non-defining declaration of deleted function suppresses usage validation)

PR c++/49066
* decl.c (duplicate_decls): Preserve DECL_DELETED_FN.

From-SVN: r173993
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/defaulted26.C [new file with mode: 0644]