projects
/
platform
/
upstream
/
glibc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fix strchr test
[platform/upstream/glibc.git]
/
string
/
bug-strchr1.c
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"