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
Fix jn precision
[glibc.git]
/
string
/
bug-strchr1.c
blob
21155d8a7f5396c3d73ad76d6b0fcbf8bc2f863c
1
#include <stdio.h>
2
#include <string.h>
3
4
static int
5
do_test
(
void
)
6
{
7
char
s
[]
__attribute__
((
aligned
(
16
))) =
"
\xff
"
;
8
char
*
p
=
strchr
(
s
,
'
\xfe
'
);
9
printf
(
"%p
\n
"
,
p
);
10
return
p
!=
NULL
;
11
}
12
13
#define TEST_FUNCTION do_test ()
14
#include
"../test-skeleton.c"