1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-04-26 15:09:05 +03:00
glibc/string/bug-strchr1.c
2010-10-26 00:23:45 -04:00

15 lines
258 B
C

#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"