Testsuite question

Marc Espie espie@quatramaran.ens.fr
Sun Oct 11 06:46:00 GMT 1998


Is it possible to include test files in the suite that involve compiling
AND linking... I've just tracked down a bug in a tentative OpenBSD 
installation to a constructor invocation problem. It resolved to this:
// a.C
static struct object
  {
  object()
    {
    exit(0);
    }
  } o;

// b.C
int main()
  {
  abort();
  }

obviously, files need to be compiled separately for the problem to show up...



More information about the Gcc mailing list