Sign in
third-party-mirror
/
GRTEv4
/
cf41cedf52c87cf4f27c61e4eb8444ecb811ab13
/
.
/
google3
/
third_party
/
grte
/
v4_src
/
glibc-2.19
/
elf
/
preloadtest.c
blob: 7ea10b9b5bd011036c84679331cc0a0942930a8d [
file
] [
log
] [
blame
]
#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
;
}