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

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

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