PR c++/71117 - core 2189 and generic lambda
authorJason Merrill <jason@redhat.com>
Fri, 15 Jul 2016 18:49:25 +0000 (14:49 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 15 Jul 2016 18:49:25 +0000 (14:49 -0400)
commit4d031550cc895e3004f9cd23874877facc5d429a
treed29e6966bf822d43bd6e5242f9d921be3b3eaf09
parent2a54351ba7f9a90ede3dbc6dd2e15272b955fdd1
PR c++/71117 - core 2189 and generic lambda

* call.c (add_template_conv_candidate): Disable if there are
viable candidates.

From-SVN: r238394
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/g++.dg/cpp0x/conv-tmpl1.C
gcc/testsuite/g++.dg/cpp1y/lambda-generic-conv2.C [new file with mode: 0644]