This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Testsuite PATCH: Tweak override1.C


This patch is required so that override1.C does not fail due to
warnings.

Tested on i686-pc-linux-gnu, applied on the mainline.

-- 
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com

2002-10-21  Mark Mitchell  <mark@codesourcery.com>

	* g++.dg/inherit/override1.C: Add dg-options clause.

Index: testsuite/g++.dg/inherit/override1.C
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/g++.dg/inherit/override1.C,v
retrieving revision 1.1
diff -c -p -r1.1 override1.C
*** testsuite/g++.dg/inherit/override1.C	18 Oct 2002 09:21:06 -0000	1.1
--- testsuite/g++.dg/inherit/override1.C	21 Oct 2002 07:52:45 -0000
***************
*** 1,3 ****
--- 1,5 ----
+ // { dg-options "-w" }
+ 
  struct c0 { virtual void f (); };
  struct c1 : public c0 {};
  struct c2 : public c0 {};


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]