Updated to fedora-glibc-20090509T2200
[glibc/history.git] / stdio-common / bug21.c
blobd22b9c1a9717a1976abe049296e3da5a7865ff8d
1 #include <stdio.h>
3 static int
4 do_test (void)
6 static const char buf[] = " ";
7 char *str;
9 int r = sscanf (buf, "%as", &str);
10 printf ("%d %p\n", r, str);
12 return r != -1 || str != NULL;
15 #define TEST_FUNCTION do_test ()
16 #include "../test-skeleton.c"