glibc/elf/preloadtest.c
Ulrich Drepper a850e77f3f Update.
* elf/loadfail.c: Little cosmetic changes to avoid warnings.
	* elf/loadtest.c: Likewise.
	* elf/multiload.c: Likewise.
	* elf/next.c: Likewise.
	* elf/nodelete.c: Likewise.
	* elf/noload.c: Likewise.
	* elf/order.c: Likewise.
	* elf/origtest.c: Likewise.
	* elf/preloadtest.c: Likewise.
	* elf/restest1.c: Likewise.
2000-11-26 06:18:02 +00:00

21 lines
243 B
C

#include <stdio.h>
extern int preload (int);
int
main (void)
{
int res = preload (42);
printf ("preload (42) = %d, %s\n", res, res == 92 ? "ok" : "wrong");
return res != 92;
}
extern int foo (int a);
int
foo (int a)
{
return a;
}