From cc1c702f8c8f774862dc3e50a5bcc0a2ebeda017 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Fri, 26 Sep 1997 11:50:51 -0400 Subject: [PATCH] update From-SVN: r15733 --- gcc/testsuite/g++.old-deja/g++.bugs/900514_03.C | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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); } -- 2.30.2