ubuntu-buildroot/output/build/glibc-2.36-81-g4f4d7a13edfd.../elf/preloadtest.c

20 lines
214 B
C
Raw Permalink Normal View History

2024-04-01 15:19:46 +00:00
#include <stdio.h>
#include "testobj.h"
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;
}