The C++ 2011 std::call_once function is specified to allow
[glibc.git] / elf / preloadtest.c
blob7ea10b9b5bd011036c84679331cc0a0942930a8d
1 #include <stdio.h>
3 #include "testobj.h"
5 int
6 main (void)
8 int res = preload (42);
10 printf ("preload (42) = %d, %s\n", res, res == 92 ? "ok" : "wrong");
12 return res != 92;
15 int
16 foo (int a)
18 return a;