]> git.ipfire.org Git - thirdparty/glibc.git/blame - elf/preloadtest.c
y2038: linux: Provide __timer_gettime64 implementation
[thirdparty/glibc.git] / elf / preloadtest.c
CommitLineData
3d91edb2
UD
1#include <stdio.h>
2
1a511d31 3#include "testobj.h"
3d91edb2
UD
4
5int
6main (void)
7{
8 int res = preload (42);
9
10 printf ("preload (42) = %d, %s\n", res, res == 92 ? "ok" : "wrong");
11
12 return res != 92;
13}
14
15int
16foo (int a)
17{
18 return a;
19}