8sa1-gcc/gcc/testsuite/gcc.c-torture/unsorted/BUG21.c
Jeff Law 921e5a0eb4 Initial revision
From-SVN: r14840
1997-08-19 01:34:40 -06:00

23 lines
312 B
C

typedef struct {
int knock_on_wood; /* leave it out and it works. */
int f1;
} FOO;
typedef struct {
FOO *b1;
} BAR;
Nase ()
{
int i, j;
FOO *foop;
BAR *barp;
for (i = 0; i < 2; i++) {
foop = &barp->b1[i];
for (j = 0; j < foop->f1; j++) {
/* dummy() */; /* put it in and it works. */
}
}
}