From: Jason Merrill Date: Fri, 26 Sep 1997 15:50:51 +0000 (-0400) Subject: update X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cc1c702f8c8f774862dc3e50a5bcc0a2ebeda017;p=gcc.git update From-SVN: r15733 --- diff --git a/gcc/testsuite/g++.old-deja/g++.bugs/900514_03.C b/gcc/testsuite/g++.old-deja/g++.bugs/900514_03.C index 7274bb72990..508c901acc7 100644 --- a/gcc/testsuite/g++.old-deja/g++.bugs/900514_03.C +++ b/gcc/testsuite/g++.old-deja/g++.bugs/900514_03.C @@ -78,9 +78,6 @@ void t_1_local_init () t_1_st_1 t_1_st_1_obj1 = t_1_st_1 (t_1_st_0_obj0); } -// These are not ambiguous because the binding of the this parm for the conv -// is better than the arg binding for the ctor. - struct t_2_st_0; struct t_2_st_1 { @@ -104,12 +101,12 @@ void t_2_assignment () t_2_st_1 t_2_st_1_obj1; t_2_st_1 t_2_st_1_obj2; - t_2_st_1_obj0 = t_2_st_0_obj0; + t_2_st_1_obj0 = t_2_st_0_obj0; // ERROR - caught t_2_st_1_obj1 = t_2_st_1 (t_2_st_0_obj0); } void t_2_local_init () { - t_2_st_1 t_2_st_1_obj0 = t_2_st_0_obj0; + t_2_st_1 t_2_st_1_obj0 = t_2_st_0_obj0; // ERROR - t_2_st_1 t_2_st_1_obj1 = t_2_st_1 (t_2_st_0_obj0); }