gencat: Get rid of alloca.
[glibc.git] / stdio-common / bug21.c
blob1f06c0dab4b50e4f52fb7c18b11a1fcd85d8dd4d
1 #include <stdio.h>
3 static int
4 do_test (void)
6 static const char buf[] = " ";
7 char *str;
9 int r = sscanf (buf, "%ms", &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"