/cp
commite9f7d2bfceb0af3564d1041cff6ade424274434c
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 15 Jun 2015 19:26:27 +0000 (15 19:26 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 15 Jun 2015 19:26:27 +0000 (15 19:26 +0000)
treed605b269cba55a56fd16eafdd94e47cdc5fd7eef
parent081f3e64facc36f48b328ee2994eb27ff1713ce6
/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.

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