gcc/libmudflap/testsuite/libmudflap.c/externs-1.c
2005-06-19 16:01:03 +00:00

17 lines
184 B
C

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;
}