Core issue 899
authorJason Merrill <jason@redhat.com>
Fri, 23 Oct 2009 18:08:10 +0000 (14:08 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 23 Oct 2009 18:08:10 +0000 (14:08 -0400)
commit78dd7466f8143975212a874e72a0ffc843c09a94
tree03b3d3610bf66e9a807a7d17d876efd333e01e42
parentfc77a3d812da1434af68b9c3831314170cb9de2e
Core issue 899

Core issue 899
* call.c (add_function_candidate): Only permit explicit conversion
ops if copy ctor was called with a single argument.

From-SVN: r153509
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/explicit4.C [new file with mode: 0644]