Sign in
third-party-mirror
/
GRTEv5
/
refs/heads/master
/
.
/
google3
/
third_party
/
grte
/
v5_src
/
glibc-2.27
/
elf
/
preloadtest.c
blob: 7ea10b9b5bd011036c84679331cc0a0942930a8d [
file
] [
log
] [
blame
] [
edit
]
#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
;
}