re PR c++/18644 (-Wsynth warning in <complex>)

PR c++/18644
        * g++.old-deja/g++.jason/warning9.C (struct A, main): Adjust

From-SVN: r97360
This commit is contained in:
Gabriel Dos Reis 2005-04-01 00:28:00 +00:00 committed by Gabriel Dos Reis
parent 65ce7a41f1
commit c423ee0d35
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2005-03-31 Gabriel Dos Reis <gdr@integrable-solutions.net>
PR c++/18644
* g++.old-deja/g++.jason/warning9.C (struct A, main): Adjust
2005-04-01 Joseph S. Myers <joseph@codesourcery.com>
PR c/17855

View File

@ -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;
}