glibc/elf/reldep8mod1.c
Ulrich Drepper cfaf5e56c8 Update.
2002-12-30  Ulrich Drepper  <drepper@redhat.com>

	* elf/Makefile: Add rules to build and run reldep8 test.
	* elf/reldep8.c: New file.
	* elf/reldep8mod1.c: New file.
	* elf/reldep8mod2.c: New file.
	* elf/reldep8mod3.c: New file.
	Contributed by Jakub Jelinek.
2002-12-30 20:25:40 +00:00

20 lines
154 B
C

#include <stdlib.h>
void
foo (void)
{
exit (0);
}
void
__attribute__((destructor))
bar (void)
{
static int i;
foo ();
++i;
}
void
baz (void)
{
}