Thu Jul 11 20:09:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
[glibc/history.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;