Files
glibc/elf/preloadtest.c
T

20 lines
214 B
C
Raw Normal View History

1999-01-20 00:34:52 +00:00
#include <stdio.h>
2000-12-15 16:03:57 +00:00
#include "testobj.h"
1999-01-20 00:34:52 +00:00
int
main (void)
{
int res = preload (42);
printf ("preload (42) = %d, %s\n", res, res == 92 ? "ok" : "wrong");
return res != 92;
}
int
foo (int a)
{
return a;
}