This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Testsuite question
- To: egcs at cygnus dot com
- Subject: Testsuite question
- From: Marc Espie <espie at quatramaran dot ens dot fr>
- Date: Sun, 11 Oct 1998 13:49:52 +0200
- Organization: none
- Reply-To: Marc dot Espie at liafa1 dot liafa dot jussieu dot fr
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...