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]

[tree-ssa] two more c++ testcase fixes


Note that in both cases the testsuite is looking for an ICE
message on the line after the last line of the file.  In both
of these cases we emit the proper syntax errors on the last
line of the file.  Which is just fine.


r~


        * g++.dg/parse/crash10.C: Adjust expected error lines.
        * g++.old-deja/g++.other/crash31.C: Likewise.

Index: g++.dg/parse/crash10.C
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/g++.dg/parse/crash10.C,v
retrieving revision 1.2.8.1
diff -c -p -d -r1.2.8.1 crash10.C
*** g++.dg/parse/crash10.C	20 Aug 2003 20:45:21 -0000	1.2.8.1
--- g++.dg/parse/crash10.C	1 Oct 2003 21:12:15 -0000
***************
*** 5,11 ****
  
  // PR c++ 10953. ICE
  
! // { dg-error "" "" { target *-*-* } 14 }
  
  class 
  {
--- 5,11 ----
  
  // PR c++ 10953. ICE
  
! // { dg-bogus "" "" { target *-*-* } 14 }
  
  class 
  {
Index: g++.old-deja/g++.other/crash31.C
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/g++.old-deja/g++.other/crash31.C,v
retrieving revision 1.2.22.1
diff -c -p -d -r1.2.22.1 crash31.C
*** g++.old-deja/g++.other/crash31.C	7 May 2003 13:34:26 -0000	1.2.22.1
--- g++.old-deja/g++.other/crash31.C	1 Oct 2003 21:12:19 -0000
***************
*** 1,12 ****
  // { dg-do assemble }
  // Origin: Jakub Jelinek <jakub@redhat.com>
  
! // { dg-bogus "" "" { xfail *-*-* } 13 }
  
  namespace bar
  {
  struct foo
  {
    foo();
! };
! 			// { dg-error "" "" { xfail *-*-* } }
--- 1,11 ----
  // { dg-do assemble }
  // Origin: Jakub Jelinek <jakub@redhat.com>
  
! // { dg-bogus "" "" { target *-*-* } 13 }
  
  namespace bar
  {
  struct foo
  {
    foo();
! }; // { dg-error "" "" { target *-*-* } }


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