OSDN Git Service

Fix bad regexp
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 1 May 2002 07:35:19 +0000 (07:35 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 1 May 2002 07:35:19 +0000 (07:35 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52994 138bc75d-0d04-0410-961f-82ee72b054a4

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

index e90c5f7..345f8d1 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 );
 };