aboutsummaryrefslogtreecommitdiff
blob: c5af604e44e661f2d87b3a0ccfbb9c9b5776024c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <stdio.h>
#include <string.h>

int
main (int argc, char *argv[])
{
  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;
}