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