]> sourceware.org Git - glibc.git/blame - string/bug-strspn1.c
Hurd: Support --prefix=/usr special-casing for all GNU systems.
[glibc.git] / string / bug-strspn1.c
CommitLineData
9c3b1ceb 1/* Test case by Joseph S. Myers <jsm28@cam.ac.uk>. */
02fb3d17 2#undef __USE_STRING_INLINES
9c3b1ceb
UD
3#define __USE_STRING_INLINES
4#include <string.h>
5#include <stdlib.h>
6#include <stdio.h>
7
8int
9main (void)
10{
11 const char *a = "abc";
12 const char *b = a;
13
14 strspn (b++, "");
15 if (b != a + 1)
bf4de8f3 16 return 1;
9c3b1ceb 17
bf4de8f3 18 return 0;
9c3b1ceb 19}
This page took 0.282696 seconds and 5 git commands to generate.