From: gdr Date: Fri, 1 Apr 2005 00:28:00 +0000 (+0000) Subject: PR c++/18644 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8fba01e80911f511447277d998260836bb4d803e;p=thirdparty%2Fgcc.git PR c++/18644 * g++.old-deja/g++.jason/warning9.C (struct A, main): Adjust git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97360 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index f3c261769158..f9405425e40f 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2005-03-31 Gabriel Dos Reis + + PR c++/18644 + * g++.old-deja/g++.jason/warning9.C (struct A, main): Adjust + 2005-04-01 Joseph S. Myers PR c/17855 diff --git a/gcc/testsuite/g++.old-deja/g++.jason/warning9.C b/gcc/testsuite/g++.old-deja/g++.jason/warning9.C index 9423ac1269b6..775a37ca33da 100644 --- a/gcc/testsuite/g++.old-deja/g++.jason/warning9.C +++ b/gcc/testsuite/g++.old-deja/g++.jason/warning9.C @@ -3,12 +3,13 @@ struct A { operator int (); - A& operator= (int); // { dg-warning "" } not used below + A& operator= (int); }; +int main() { A a, b; - a = b; // { dg-warning "" } uses synthesized op= + a = b; }