This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Testsuite PATCH: Tweak override1.C
- From: Mark Mitchell <mark at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 21 Oct 2002 00:47:04 -0700
- Subject: Testsuite PATCH: Tweak override1.C
- Reply-to: mark at codesourcery dot com
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 {};