OSDN Git Service

update
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 26 Sep 1997 15:50:51 +0000 (15:50 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 26 Sep 1997 15:50:51 +0000 (15:50 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15733 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/g++.old-deja/g++.bugs/900514_03.C

index 7274bb7..508c901 100644 (file)
@@ -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);
 }