/cp
commitae6744c9a74a337be0369758b3b2a877c25e1250
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 23 May 2016 20:50:10 +0000 (23 20:50 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 23 May 2016 20:50:10 +0000 (23 20:50 +0000)
tree0b372cc8356ef8c62ff86c557de938fa92ebfe15
parent005248bcddeea20c03f3692e64f38284dac32695
/cp
2016-05-23  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/70972
* method.c (forward_parm): Use cp_build_reference_type.

/testsuite
2016-05-23  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/70972
* g++.dg/cpp0x/inh-ctor20.C: New.
* g++.dg/cpp0x/inh-ctor21.C: Likewise.

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