Fri Jun 14 01:51:47 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
[glibc.git] / stdio-common / bug11.c
blob1f5739cb7d7c08f6b2cb8ccfabe536b30dae5de4
1 #include <stdio.h>
2 #include <string.h>
4 main ()
6 int ret;
7 char buf [1024] = "Ooops";
9 ret = sscanf ("static char Term_bits[] = {", "static char %s = {", buf);
10 printf ("ret: %d, name: %s\n", ret, buf);
12 return strcmp (buf, "Term_bits[]") != 0 || ret != 1;