]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix bad regexp
authorNathan Sidwell <nathan@gcc.gnu.org>
Wed, 1 May 2002 07:34:35 +0000 (07:34 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 1 May 2002 07:34:35 +0000 (07:34 +0000)
From-SVN: r52993

gcc/testsuite/g++.dg/warn/effc1.C

index e90c5f7812f8904b05839f1109ee32c790e4eb70..345f8d1b66508ac54e1c59160b58340b7e8d5861 100644 (file)
@@ -10,7 +10,7 @@ class A
 {
   public:
   A & operator+=( int );
-  A & operator+( int ); // { dg-warning "`A& A::operator+(int)' should return by value" "" }
+  A & operator+( int ); // { dg-warning ".* should return by value" "" }
   A operator+=( float );
   A operator+( float );
 };