glibc/string/bug-strchr1.c

15 lines
258 B
C
Raw Normal View History

2010-10-26 04:23:45 +00:00
#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"