]> git.ipfire.org Git - thirdparty/glibc.git/blob - elf/preloadtest.c
Merge glibc-ports into ports/ directory.
[thirdparty/glibc.git] / elf / preloadtest.c
1 #include <stdio.h>
2
3 #include "testobj.h"
4
5 int
6 main (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
15 int
16 foo (int a)
17 {
18 return a;
19 }