summaryrefslogtreecommitdiff
path: root/libmudflap/testsuite/libmudflap.c/externs-1.c
blob: 028f5eb5a4844916780e3311412dd23c75117dbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
typedef struct { char *name; } dummy;
extern dummy d[];

int
main (void)
{
  dummy *pd = d;

  while (pd->name)
    {
      printf ("%s\n", pd->name);
      pd++;
    }

  return 0;
}