C++ PATCH: Fix crash10.C

Mark Mitchell mark@codesourcery.com
Wed Nov 12 22:44:00 GMT 2003


This was an easy fix; crash10.C had a marker for an error line after
the end of the test case, and we don't generate an error there.

Nathan, I don't see that there's any value in looking for that
diagnostic; let me know if you disagree.

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

--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com

2003-11-12  Mark Mitchell  <mark@codesourcery.com>

	* g++.dg/parse/crash10.C: Remove bogus error marker.

Index: g++.dg/parse/crash10.C
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/g++.dg/parse/crash10.C,v
retrieving revision 1.2
diff -c -5 -p -r1.2 crash10.C
*** g++.dg/parse/crash10.C	23 Jul 2003 17:33:14 -0000	1.2
--- g++.dg/parse/crash10.C	12 Nov 2003 22:29:27 -0000
***************
*** 3,13 ****
  // Copyright (C) 2003 Free Software Foundation, Inc.
  // Contributed by Nathan Sidwell 22 Jul 2003 <nathan@codesourcery.com>
  
  // PR c++ 10953. ICE
  
- // { dg-error "" "" { target *-*-* } 14 }
- 
  class 
  {
    typename::  // { dg-error "" "" }
  ; // { dg-error "" "" }
--- 3,11 ----



More information about the Gcc-patches mailing list