Add missing file.
authorUlrich Drepper <drepper@redhat.com>
Tue, 26 Oct 2010 04:23:45 +0000 (00:23 -0400)
committerUlrich Drepper <drepper@redhat.com>
Tue, 26 Oct 2010 04:23:45 +0000 (00:23 -0400)
string/bug-strchr1.c [new file with mode: 0644]

diff --git a/string/bug-strchr1.c b/string/bug-strchr1.c
new file mode 100644 (file)
index 0000000..21155d8
--- /dev/null
@@ -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"