/cp
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 25 May 2013 08:39:44 +0000 (08:39 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 25 May 2013 08:39:44 +0000 (08:39 +0000)
commitdbbbd81b70fb4b111b7a410e497f9126805d1aad
tree9480d8ea22c7e40e507af3c9e5b55470fc05371f
parente0a3395965814c6424879d9453ea842b7c95c8ac
/cp
2013-05-25  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/25666
* decl2.c (check_classfn): Check for destructors declared as member
templates.

/testsuite
2013-05-25  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/25666
* g++.dg/parse/dtor16.C: New.
* g++.dg/parse/dtor6.C: Adjust.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199324 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/dtor16.C [new file with mode: 0644]
gcc/testsuite/g++.dg/parse/dtor6.C