mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-27 07:20:11 +00:00
14 lines
268 B
C
14 lines
268 B
C
|
#include <stdio.h>
|
||
|
#include <string.h>
|
||
|
|
||
|
main ()
|
||
|
{
|
||
|
int ret;
|
||
|
char buf [1024] = "Ooops";
|
||
|
|
||
|
ret = sscanf ("static char Term_bits[] = {", "static char %s = {", buf);
|
||
|
printf ("ret: %d, name: %s\n", ret, buf);
|
||
|
|
||
|
return strcmp (buf, "Term_bits[]") != 0 || ret != 1;
|
||
|
}
|