re PR c++/18644 (-Wsynth warning in <complex>)
authorGabriel Dos Reis <gdr@integrable-solutions.net>
Fri, 1 Apr 2005 00:28:00 +0000 (00:28 +0000)
committerGabriel Dos Reis <gdr@gcc.gnu.org>
Fri, 1 Apr 2005 00:28:00 +0000 (00:28 +0000)
        PR c++/18644
        * g++.old-deja/g++.jason/warning9.C (struct A, main): Adjust

From-SVN: r97360

gcc/testsuite/ChangeLog
gcc/testsuite/g++.old-deja/g++.jason/warning9.C

index f3c2617691581a281f5021daef8f8db8cd13e0f3..f9405425e40f668c88da81aa2d36b017bc87c7f8 100644 (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
index 9423ac1269b6960a285781bc35993243b279c990..775a37ca33da5795b48c7bcb94b1e9ce23a940f4 100644 (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;
 }