This is the mail archive of the gcc-bugs@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]

Re: gcc.dg/20000614-1.c exit code?



> Yes there should be a return 0.  Consider this preapproval to check in a
> patch.

I checked this in:

2000-11-07  DJ Delorie  <dj@redhat.com>

	* testsuite/gcc.dg/20000614-1.c: Add return so that test can pass.

  
Index: testsuite/gcc.dg/20000614-1.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/testsuite/gcc.dg/20000614-1.c,v
retrieving revision 1.1
diff -p -2 -r1.1 20000614-1.c
*** 20000614-1.c	2000/06/15 15:25:52	1.1
--- 20000614-1.c	2000/11/07 17:12:03
*************** int main (void)
*** 21,23 ****
--- 21,24 ----
  {
    foo (23, 1);
+   return 0;
  }

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