re PR c++/51048 (Class template inheritance doesn't work well with function-local...
authorPaolo Carlini <paolo@gcc.gnu.org>
Mon, 15 Jun 2015 19:26:27 +0000 (19:26 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Mon, 15 Jun 2015 19:26:27 +0000 (19:26 +0000)
commitf92c74268a1f3e9ff6921097e8da418879769e2b
treed605b269cba55a56fd16eafdd94e47cdc5fd7eef
parentd7bfc710ab444e1a4e2ebe7e0ba8e39ffc3f8a08
re PR c++/51048 (Class template inheritance doesn't work well with function-local types)

/cp
2015-06-15  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/51048
* decl2.c (no_linkage_error): Do not issue a permerror if the DECL
using a local type is pure virtual.

/testsuite
2015-06-15  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/51048
* g++.dg/cpp0x/local-type1.C: New.

From-SVN: r224492
gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/local-type1.C [new file with mode: 0644]