Commit c423ee0d by Gabriel Dos Reis Committed by Gabriel Dos Reis

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
parent 65ce7a41
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
......
......@@ -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;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment