Sign in
nest-open-source
/
nest-cam
/
v366
/
glibc
/
a1be76f4778f5115901e067c04353d3fd4561883
/
.
/
string
/
bug-strchr1.c
blob: 21155d8a7f5396c3d73ad76d6b0fcbf8bc2f863c [
file
] [
log
] [
blame
]
#include
<stdio.h>
#include
<string.h>
static
int
do_test
(
void
)
{
char
s
[]
__attribute__
((
aligned
(
16
)))
=
"\xff"
;
char
*
p
=
strchr
(
s
,
'\xfe'
);
printf
(
"%p\n"
,
p
);
return
p
!=
NULL
;
}
#define
TEST_FUNCTION do_test
()
#include
"../test-skeleton.c"