call.c (add_function_candidate): Exclude inherited copy/move ctors.
authorJason Merrill <jason@redhat.com>
Thu, 1 Dec 2016 22:13:06 +0000 (17:13 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 1 Dec 2016 22:13:06 +0000 (17:13 -0500)
commit03e88100e14719f4e05dd379e88ae4daf68fa625
treed14cda22c0c29f2f811e5d9221fd6ca057f5be61
parentc1ff51dc9f743fb6ecd77a9374e543d285f98cb0
call.c (add_function_candidate): Exclude inherited copy/move ctors.

* call.c (add_function_candidate): Exclude inherited copy/move
ctors.

From-SVN: r243138
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/g++.dg/cpp0x/inh-ctor15a.C [deleted file]
gcc/testsuite/g++.dg/cpp1z/inh-ctor36.C [new file with mode: 0644]