mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
Add missing file.
This commit is contained in:
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"
|
Reference in New Issue
Block a user