OSDN Git Service

* g++.dg/init/new1.C, g++.dg/template/alignof1.C,
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.c-torture / unsorted / BUG21.c
1 typedef struct {
2         int knock_on_wood;              /* leave it out and it works. */
3         int f1;
4 } FOO;
5
6 typedef struct {
7         FOO *b1;
8 } BAR;
9
10 Nase ()
11 {
12         int i, j;
13         FOO *foop;
14         BAR *barp;
15
16         for (i = 0; i < 2; i++) {
17                 foop = &barp->b1[i];
18                 for (j = 0; j < foop->f1; j++) {
19                         /* dummy() */;          /* put it in and it works. */
20                 }
21         }
22 }