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:
parent
65ce7a41f1
commit
c423ee0d35
|
@ -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>
|
2005-04-01 Joseph S. Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
PR c/17855
|
PR c/17855
|
||||||
|
|
|
@ -3,12 +3,13 @@
|
||||||
|
|
||||||
struct A {
|
struct A {
|
||||||
operator int ();
|
operator int ();
|
||||||
A& operator= (int); // { dg-warning "" } not used below
|
A& operator= (int);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
int
|
||||||
main()
|
main()
|
||||||
{
|
{
|
||||||
A a, b;
|
A a, b;
|
||||||
|
|
||||||
a = b; // { dg-warning "" } uses synthesized op=
|
a = b;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue