diff options
author | Jason Merrill <jason@gcc.gnu.org> | 1997-09-26 11:50:51 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 1997-09-26 11:50:51 -0400 |
commit | cc1c702f8c8f774862dc3e50a5bcc0a2ebeda017 (patch) | |
tree | 45103df2b2305baa9796087058ceff546a700051 | |
parent | 1052cd6573a2b1c5dc981d2b61f2dd61c080d869 (diff) | |
download | gcc-cc1c702f8c8f774862dc3e50a5bcc0a2ebeda017.zip gcc-cc1c702f8c8f774862dc3e50a5bcc0a2ebeda017.tar.gz gcc-cc1c702f8c8f774862dc3e50a5bcc0a2ebeda017.tar.bz2 |
update
From-SVN: r15733
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.bugs/900514_03.C | 7 |
1 files 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 7274bb7..508c901 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); } |