Make taking the address of an overloaded function a non-deduced context
authorVille Voutilainen <ville.voutilainen@gmail.com>
Wed, 30 Aug 2017 20:50:25 +0000 (23:50 +0300)
committerVille Voutilainen <ville@gcc.gnu.org>
Wed, 30 Aug 2017 20:50:25 +0000 (23:50 +0300)
commit18cb045d873daf1b803b8b3973bafa260d459f41
tree58c7f175236c316521433b4c80e7a75b33472098
parent3e75ec3fab878ec6ebde748e6b57fdcaec8fd4ea
Make taking the address of an overloaded function a non-deduced context

cp/

* pt.c (unify_overload_resolution_failure): Remove.
(unify_one_argument): Adjust.

testsuite/

* g++.dg/overload/template6.C: New.

From-SVN: r251548
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/overload/template6.C [new file with mode: 0644]