]>
Commit | Line | Data |
---|---|---|
2114e10a RM |
1 | #include <stdio.h> |
2 | #include <string.h> | |
3 | ||
11336c16 UD |
4 | int |
5 | main (int argc, char *argv[]) | |
2114e10a RM |
6 | { |
7 | int ret; | |
8 | char buf [1024] = "Ooops"; | |
9 | ||
10 | ret = sscanf ("static char Term_bits[] = {", "static char %s = {", buf); | |
11 | printf ("ret: %d, name: %s\n", ret, buf); | |
12 | ||
13 | return strcmp (buf, "Term_bits[]") != 0 || ret != 1; | |
14 | } |