update
authorJason Merrill <jason@gcc.gnu.org>
Fri, 26 Sep 1997 15:50:51 +0000 (11:50 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 26 Sep 1997 15:50:51 +0000 (11:50 -0400)
From-SVN: r15733

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

index 7274bb72990db3fa75debbc3b9c40ebdeea1cd00..508c901acc7833496d961a71895f793795f5bdc9 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);
 }