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]

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



In this test case, main looks like this:

int main (void)
{
  foo (23, 1);
}

It happens that the exit code is nonzero when the program runs
properly.  Is this correct?  Should there be a "return 0;" in main?

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