mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-03 16:21:06 +00:00
Add missing file.
This commit is contained in:
parent
f09677388a
commit
c54ff5c67e
14
string/bug-strchr1.c
Normal file
14
string/bug-strchr1.c
Normal file
@ -0,0 +1,14 @@
|
||||
#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"
|
Loading…
Reference in New Issue
Block a user