Sign in
nest-open-source
/
nest-cam
/
v366
/
glibc
/
refs/heads/main
/
.
/
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
;
}