re PR c++/60753 (Deleted definition of an explicit function template specialization...
authorPaolo Carlini <paolo.carlini@oracle.com>
Thu, 8 Jan 2015 15:48:36 +0000 (15:48 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Thu, 8 Jan 2015 15:48:36 +0000 (15:48 +0000)
commit247ecdf3b8568e4b489598858b7586dccf9f95e5
tree1616c404b687f28401bb54f5d40ed995afa1d327
parent45f46750a3513790573791c0eec6b600b42f2042
re PR c++/60753 (Deleted definition of an explicit function template specialization, following a declaration, incorrectly accepted)

/cp
2015-01-08  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/60753
* decl.c (grokfndecl): Add bool parameter.
(grokdeclarator): Adjust calls.
(start_decl): Don't set DECL_DELETED_FN here.

/testsuite
2015-01-08  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/60753
* g++.dg/cpp0x/deleted10.C: New.

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