repo.or.cz
/
glibc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
arm: Implement memchr ifunc selection in C
[glibc.git]
/
elf
/
tst-piemod1.c
blob
72d7e0a187cfac9a6d085ccbd3812c57ab1c43c2
1
#include <stdio.h>
2
3
int
4
foo
(
void
)
5
{
6
return
21
;
7
}
8
9
static int
10
do_test
(
void
)
11
{
12
int
val
=
foo
();
13
if
(
val
!=
34
)
14
{
15
printf
(
"foo () returned %d
\n
"
,
val
);
16
return
1
;
17
}
18
19
return
0
;
20
}
21
22
#include <support/test-driver.c>